Functions
outputJSON
- outputJSON(file: string, data: any, atomic?: boolean): Promise<void>
- outputJSON(file: string, data: any, options?: JsonOptions, atomic?: boolean): Promise<void>
-
Parameters
-
file: string
-
data: any
-
Optional atomic: boolean
Returns Promise<void>
-
Parameters
-
file: string
-
data: any
-
-
Optional atomic: boolean
Returns Promise<void>
Const outputJson
- outputJson(file: string, data: any, atomic?: boolean): Promise<void>
- outputJson(file: string, data: any, options?: JsonOptions, atomic?: boolean): Promise<void>
-
Parameters
-
file: string
-
data: any
-
Optional atomic: boolean
Returns Promise<void>
-
Parameters
-
file: string
-
data: any
-
-
Optional atomic: boolean
Returns Promise<void>
Writes a json file to disk, creating all directories needed to meet the filepath provided.
outputJSON
fsn/nextra