npm.io
0.1.0 • Published 12 years ago

pipe-event

Licence
MIT
Version
0.1.0
Deps
0
Vulns
0
Weekly
0
Stars
2

pipe-event

Build Status Dependency Status devDependency Status

Pipe an event from an event emitter to another.

Install

npm install pipe-event

Usage

var pipeEvent = require('pipe-event');
pipeEvent(['error', 'complete'], sourceEventEmitter, targetEventEmitter);
pipeEvent(events, source, target)
  {string|string[]} events Events to pipe
  {EventEmitter} source Source event emitter
  {EventEmitter} target Target event emitter

License

MIT

Keywords