alljson
v2.0.0
Published
Two functions readAllJSON and saveAllJSON that I like to use a lot.
Downloads
2
Readme
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