level-live-stream
Stream live changes from levelup.
Works just like LevelUp#readStream except instead of ending, it will stay open and stream changes to the database as they are inserted!
Just like the couchdb changes feed, but for any arbitrary range of keys!
see also, level-livefeed for the same idea, but with a streams2 api.
var level =
You can also attach liveStream
as a method to the db like below.
This will allow multilevel
clients to use db.liveStream()
.
var LiveStream = ; // attach the `liveStream` method using `install`LiveStream; // then invoke the method using the `db` instancedb ;
options
License
MIT