@bitbeater/node-utils - v3.0.0
    Preparing search index...

    Function writeSync

    • If data is a plain object, it must have an own (not inherited) toStringfunction property.

      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: PathLike

        filename or file descriptor

      • Optionaldata: string | ArrayBufferView<ArrayBufferLike>
      • Optionaloptions: WriteFileOptions

      Returns void