Mixin: json

json

This mixin implements a file-based storage feature which stores items as JSON files.
Source:
See:

Example

var opts = {
  storage: 'json',
  path: __dirname + '/data'
};

var collection = new KagoDB(opts);

collection.read('foo', function(err, item){
  // ./data/foo.json
});