Open rudybrian opened 9 years ago
See https://stackoverflow.com/questions/5670752/write-pretty-json-to-file-using-node-js for some suggestions for pretty-printing JSON and saving to a file.
There are also some existing node modules that can save and restore settings: nconf jsonfile json-file-plus
See https://stackoverflow.com/questions/5670752/write-pretty-json-to-file-using-node-js for some suggestions for pretty-printing JSON and saving to a file.
There are also some existing node modules that can save and restore settings: nconf jsonfile json-file-plus