Skip to content

Simple, light and correct LevelDB live read stream implementation

Notifications You must be signed in to change notification settings

voltraco/level-live

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple, light and correct LevelDB live read stream implementation

Resources

Stars

Watchers

Forks

Packages

No packages published