Module fs
Functions
readJsonFromFile
- readJsonFromFile(path: string): Promise<ObjMap>
-
Parameters
Returns Promise<ObjMap>
Parsed Json.
writeJsonToFile
- writeJsonToFile(path: string, json: ObjMap): Promise<void>
-
Parameters
-
path: string
-
json: ObjMap
Returns Promise<void>
Reads json from file.