1.0.1 • Published 6 years ago

level-live v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

level-live

Simple, light and correct LevelDB live read stream implementation.

Usage

const stream = new Live(db, { gt: 'prefix' })

stream.on('data', ({ type, key, value }) => {
  // ...
})

Installation

$ npm install level-live

API

stream = new Live(db, opts)

opts can be a levelup style range object with any of those options:

  • gt
  • gte
  • lt
  • lte
  • start
  • end

License

MIT