Functions
outputFile
- outputFile(file: string, data: string | Buffer | Uint8Array, atomic?: boolean): Promise<void>
- outputFile(file: string, data: string | Buffer | Uint8Array, options?: WriteOptions | BaseEncodingOptions, atomic?: boolean): Promise<void>
-
Parameters
-
file: string
-
data: string | Buffer | Uint8Array
-
Optional atomic: boolean
Returns Promise<void>
-
Parameters
-
file: string
-
data: string | Buffer | Uint8Array
-
-
Optional atomic: boolean
Returns Promise<void>
Writes a file to disk, creating all directories needed to meet the filepath provided.
outputFile
fsn/nextra