level-live

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i level-live

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • juliangruber