npm.io
1.0.0 • Published 11 years ago

unpipe

Licence
MIT
Version
1.0.0
Deps
0
Vulns
0
Weekly
0
Stars
22

unpipe

NPM Version NPM Downloads Node.js Version Build Status Test Coverage

Unpipe a stream from all destinations.

Installation

$ npm install unpipe

API

var unpipe = require('unpipe')
unpipe(stream)

Unpipes all destinations from a given stream. With stream 2+, this is equivalent to stream.unpipe(). When used with streams 1 style streams (typically Node.js 0.8 and below), this module attempts to undo the actions done in stream.pipe(dest).

License

MIT