0.0.2 • Published 7 years ago
jul11co-levelstore v0.0.2
jul11co-levelstore
Jul11Co's Levelstore
Installation
From npm
npm install --save jul11co-levelstore
Usage
- LevelStore APIs
var LevelStore = require('jul11co-levelstore');
var store = new LevelStore(PATH_TO_LEVEL_DB);
store.set(key, value, callback);
store.get(key, callback); // callback = function(err, value){}
store.update(key, value, callback);
store.push(key, value, callback);
store.delete(key, callback);
License
Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)