Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 909 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 909 Bytes

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