levelhud

0.1.3 • Public • Published

LevelHUD

A front-end for exploring LevelDB stores. Uses websockets to stream data to the browser on the fly.

npm install levelhud

Requires 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')
  , levelHUD = require('levelhud')

var poneys = levelup('/etc/leveldb/poneys', { encoding: 'json' })

new levelHUD().use(poneys).listen(4420)

// var app = express()
// yada yada yada...

Point your browser to localhost:4420. That is all.

Using multiple databases

new levelHUD(poneys).listen(4420)
new levelHUD(unicorns).listen(4421)

screenshot

License

http://ricardo.mit-license.org

Readme

Keywords

none

Package Sidebar

Install

npm i levelhud

Weekly Downloads

1

Version

0.1.3

License

MIT

Last publish

Collaborators

  • ricardobeat