JSPM

level-live

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q25172F
  • License MIT

Simple, light and correct LevelDB live read stream implementation

Package Exports

  • level-live

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (level-live) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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