json-file-binding
v0.1.2
Published
Bind an object to a file, with autosave or at process exit
Readme
json-file-binding is another module to bind a json object to a file.
Bind your own object to a file, with autosave or not. Extend the object with the file content and save it at the process close (verified).
Usage
Syntax: json-file-bind ( filePath, objToBind, [autoSave] )
Arguments
filePathString The file to bindobjToBindObject / Array The object to bind.autoSaveObject (Optional) Set to true if you want to save the file at any change to your object. Works only array or object but save on exit stills work.
