2.0.0 • Published 8 years ago
alljson v2.0.0
Two functions readAllJSON and saveAllJSON that I like to use a lot.
readAllJSON(file)
- file: a file path as a string
saveAllJSON(file,json,pretty)
- file: a file path as a string
- json: an object
- pretty: a boolean if to pretty format, defaults to false