Function writeFileSync

  • Returns undefined.

    The mode option only affects the newly created file. See open for more details.

    For detailed information, see the documentation of the asynchronous version of this API: writeFile.

    Parameters

    • file: PathOrFileDescriptor

      filename or file descriptor

    • data: string | ArrayBufferView
    • Optional options: WriteFileOptions

    Returns void

    Since

    v0.1.29

Generated using TypeDoc