Defines and stores json models by indices within a leveldb
npm i -S level-wrangler
var level = '/tmp/.db' ;var sub = level ;var db = sub;var users = db;
Hiding Storing stuff
var user = users;user;
Getting rid of stuff
Check out the test suite for more use examples.
npm run watch
Test it up
wrangler, give it a level instance with whatever plugins you want.
- minimal model-schema that allows indexable props
- Pluggable—stuff like validation should be an extended module
- ES6 and babel—yuuup