piped

2.0.0 • Public • Published

piped

Emit an event on outbound pipes.

Usage

var stream = piped(stream);
stream.on('piped', function (dest) {
  this.unpipe(dest);
});
stream.on('unpiped', function () {
  console.log('i was unpiped!');
});
stream.pipe(process.stdout);

Install

npm install piped

/piped/

    Package Sidebar

    Install

    npm i piped

    Weekly Downloads

    0

    Version

    2.0.0

    License

    none

    Last publish

    Collaborators

    • lukeburns