Type alias JsonWriteOptions

JsonWriteOptions: {
    EOL?: string;
    encoding?: BufferEncoding | null;
    finalEOL?: boolean;
    flag?: string;
    fs?: "fs";
    mode?: string | number;
    replacer?: ((key, value) => any);
    spaces?: string | number;
} | BufferEncoding | null | undefined

Type declaration

  • Optional EOL?: string
  • Optional encoding?: BufferEncoding | null
  • Optional finalEOL?: boolean
  • Optional flag?: string
  • Optional fs?: "fs"
  • Optional mode?: string | number
  • Optional replacer?: ((key, value) => any)
      • (key, value): any
      • Parameters

        • key: string
        • value: any

        Returns any

  • Optional spaces?: string | number

Generated using TypeDoc