0.1.3 • Published 13 years ago
levelhud v0.1.3
LevelHUD
A front-end for exploring LevelDB stores. Uses websockets to stream data to the browser on the fly.
npm install levelhudRequires levelup. Since only one connection to LevelDB can be open at a time, the LeveHUD server must be started from within your app to share the client instance:
var levelup = require('levelup')
, levelgui = require('levelup-gui')
var poneys = levelup('/etc/leveldb/poneys', { encoding: 'json' })
new levelgui().use(poneys).listen(4420)
// var app = express()
// yada yada yada...Point your browser to localhost:4420. That is all.
Using multiple databases
new levelgui(poneys).listen(4420)
new levelgui(unicorns).listen(4421)