Functions
writeJSON
- writeJSON(file: string, object: any, atomic?: boolean): Promise<void>
- writeJSON(file: string, object: any, options?: JsonOptions, atomic?: boolean): Promise<void>
-
Parameters
-
file: string
-
object: any
-
Optional atomic: boolean
Returns Promise<void>
-
Parameters
-
file: string
-
object: any
-
-
Optional atomic: boolean
Returns Promise<void>
Const writeJson
- writeJson(file: string, object: any, atomic?: boolean): Promise<void>
- writeJson(file: string, object: any, options?: JsonOptions, atomic?: boolean): Promise<void>
-
Parameters
-
file: string
-
object: any
-
Optional atomic: boolean
Returns Promise<void>
-
Parameters
-
file: string
-
object: any
-
-
Optional atomic: boolean
Returns Promise<void>
Writes a Javascript Object to file as JSON.
writeJSON
fsn/nextra