Skip to content
0

katanakit-js / WriteFileOptionsSchema

Variable: WriteFileOptionsSchema ​

ts
const WriteFileOptionsSchema: ZodObject<{
  encoding: ZodOptional<ZodEnum<{
     ascii: "ascii";
     base64: "base64";
     base64url: "base64url";
     binary: "binary";
     hex: "hex";
     latin1: "latin1";
     ucs-2: "ucs-2";
     ucs2: "ucs2";
     utf-16le: "utf-16le";
     utf-8: "utf-8";
     utf16le: "utf16le";
     utf8: "utf8";
  }>>;
  flag: ZodOptional<ZodString>;
  mode: ZodOptional<ZodNumber>;
}, $strip>;

Defined in: src/schemas/filesystem.schema.ts:58

Options for writing or appending files.

Released under the MIT License.