Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

propagate

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

propagate - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "propagate",
"description": "Propagate events",
"version": "0.1.0",
"version": "0.1.1",
"author" : "Pedro Teixeira <pedro.teixeira@gmail.com>",

@@ -6,0 +6,0 @@ "contributors" : [

# propagate
Propagate events from one event emitter into anoter
Propagate events from one event emitter into another

@@ -23,2 +23,16 @@ ## Install

ee1.emit('event', 'a', 'b');
```
```
## Unpropagate
You can unpropagate by ending the propagation like this:
```javascript
var ee1 = new EventEmitter();
var ee2 = new EventEmitter();
var p = propagate(ee1, ee2);
// ...
p.end();
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc