Function writeFile

  • Write data to the file, replace if it already exists.

    Parameters

    Returns void

  • Write data to the file, replace if it already exists.

    Parameters

    Returns void

  • Write data to the file, replace if it already exists.

    Parameters

    • file: PathLike | FileHandle

      filename or file descriptor

    • data: string | ArrayBufferView | Iterable<string | ArrayBufferView> | AsyncIterable<string | ArrayBufferView> | ReadableStream

      data to write

    • Optional options: WriteFileOptions

      options {encoding, mode, flag, signal}

    Returns Promise<void>

Generated using TypeDoc