Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

level-live-stream

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

level-live-stream - npm Package Compare versions

Comparing version
1.4.6
to
1.4.7
+1
-1
package.json
{
"name": "level-live-stream",
"version": "1.4.6",
"version": "1.4.7",
"homepage": "https://github.com/dominictarr/level-live-stream",

@@ -5,0 +5,0 @@ "repository": {

@@ -10,3 +10,3 @@ # level-live-stream

Just like the couchdb changes feed, but for any arbitary range of keys!
Just like the couchdb changes feed, but for any arbitrary range of keys!

@@ -37,2 +37,17 @@ see also, [level-livefeed](https://github.com/Raynos/level-livefeed/) for the same idea,

You can also attach `liveStream` as a method to the db like below.
This will allow [multilevel](https://github.com/juliangruber/multilevel)
clients to use `db.liveStream()`.
```js
var LiveStream = require('level-live-stream');
// attach the `liveStream` method using `install`
LiveStream.install(db);
// then invoke the method using the `db` instance
db.liveStream()
.on('data', console.dir);
```
## options

@@ -39,0 +54,0 @@