json-var-file
Store JSON variable into a file.
Install
npm install json-var-file --save
Usage
var jvf = ;
jvf.save(var, object)
jvf.save()
store value of object, a JSON variable inside var.json. If a file already exist, current value replace old file.
Example :
jvf;
jvf.get(var)
jvf.get()
return a valid JSON, by opening a JSON file called var.json. If no file exist, return false.
Example :
myJSON = jvf;
Dependencies
json-var-file library is a nodeJS module using some usefull NPM modules like :
Licence
CC-BY-NC-SA-4.0 - Arthur Lacoste