Mixin: yaml

yaml

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

Example

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

var collection = new KagoDB(opts);

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