Wondering what’s next for npm?Check out our public roadmap! »

    pipe-event

    0.1.0 • Public • Published

    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

    Install

    npm i pipe-event

    DownloadsWeekly Downloads

    1,121

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • avatar