This repository has been archived on 2023-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
current-kwh-cost/node_modules/unpipe
2022-11-17 16:42:35 +00:00
..
HISTORY.md first commit 2022-11-17 16:42:35 +00:00
index.js first commit 2022-11-17 16:42:35 +00:00
LICENSE first commit 2022-11-17 16:42:35 +00:00
package.json first commit 2022-11-17 16:42:35 +00:00
README.md first commit 2022-11-17 16:42:35 +00:00

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