level-wrangler
Defines and stores json models by indices within a leveldb
npm i -S level-wrangler
Example
var level = '/tmp/.db' ;var sub = level ;var db = sub; var users = db;
Finding stuff
users ;
Hiding Storing stuff
var user = users; user;
Getting rid of stuff
user
Check out the test suite for more use examples.
Contributing
npm run watch
Test it up
npm test
V2 Goals
- non-intrusive-
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