(WIP) A LevelDB hosting service using multilevel
var Maxilevel = require('maxilevel');
var m = Maxilevel(__dirname + '/dbs');
var connect = require('multilevel-connect');
m.get('foo', function(err, port){
if (err) throw err;
var db = connect(port);
db.get('foo', function(err, val){
if (err) throw err;
console.log('foo => %s', val);
db.close();
m.close('foo');
});
});
$ npm install maxilevel
MIT