GitXplorerGitXplorer
t

unpiper

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
837c035cb84bdb17e07b543ac69ebb15808d8793

Release 1.0.0

ttimoxley committed 11 years ago
Unverified
fb630b4d681c14fa8c108e47d3f642b61266f5f7

Initial commit

ttimoxley committed 11 years ago

README

The README file for this repository.

unpiper

Recursively unpipe streams. Unpipes everything.

Installation

npm install unpiper

Example

  var a = through()
  var b = through()
  var c = through()

  a = unpiper(a)

  a
  .pipe(b)
  .pipe(c)

  b.once('unpipe', function() {
    console.log('unpiped b')
  })
  c.once('unpipe', function() {
    console.log('unpiped c')
  })

  // c will be automatically unpiped.
  a.unpipe(b)
  // => unpiped b
  // => unpiped c

License

MIT