save-json
JSON based file persistance engine for save using lodash _.where style find queries.
Installation
npm install save-json
Usage
var save = // npm install save saveJson = // Create a save object and pass in a saveJson engine.var contactStore = // Ensure the engine initialised correctlyif !contactStore throw Error'Could not initiate json save' // Common cause is file creation issue // Then we can create a new object.contactStore // Lets find that object with a lodash _.where style query. Simple!contactStore
Licence
Licensed under the New BSD License