You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
# unpipe
[![NPM Version][npm-image]][npm-url][![NPM Downloads][downloads-image]][downloads-url][![Node.js Version][node-image]][node-url][![Build Status][travis-image]][travis-url][![Test Coverage][coveralls-image]][coveralls-url]
Unpipe a stream from all destinations.
## Installation
```sh$ npm install unpipe```
## API
```jsvar unpipe = require('unpipe')```
### unpipe(stream)
Unpipes all destinations from a given stream. With stream 2+, this isequivalent to `stream.unpipe()`. When used with streams 1 style streams(typically Node.js 0.8 and below), this module attempts to undo theactions done in `stream.pipe(dest)`.
## License
[MIT](LICENSE)
[npm-image]: https://img.shields.io/npm/v/unpipe.svg[npm-url]: https://npmjs.org/package/unpipe[node-image]: https://img.shields.io/node/v/unpipe.svg[node-url]: http://nodejs.org/download/[travis-image]: https://img.shields.io/travis/stream-utils/unpipe.svg[travis-url]: https://travis-ci.org/stream-utils/unpipe[coveralls-image]: https://img.shields.io/coveralls/stream-utils/unpipe.svg[coveralls-url]: https://coveralls.io/r/stream-utils/unpipe?branch=master[downloads-image]: https://img.shields.io/npm/dm/unpipe.svg[downloads-url]: https://npmjs.org/package/unpipe
|