Simple, light and correct LevelDB live read stream implementation.
Fork of voltraco/level-live with two PRs applied: #1 and #2. Published to npm as @frando/level-live
const stream = new Live(db, { gt: 'prefix' })
stream.on('data', ({ type, key, value }) => {
// ...
})$ npm install level-liveopts can be a levelup style range object with any of those options:
gtgteltltestartend
Additional options are:
oldset to false to skip past entries and only listen live
Emitted once the live stream finished the past and caught up to the present.
MIT