Skip to content

TitDjeck/json-file-binding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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

  • filePath String The file to bind
  • objToBind Object / Array The object to bind.
  • autoSave Object (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.

About

Bind an object to a file, with autosave or at process exit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published