A writeable stream to dispose unneeded readable streams. Something like /dev/null
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json

README.md

black-hole-stream

A Stream which silently drops all incoming data similar to /dev/null on linux/unix

Installation

npm install black-hole-stream

Usage

var BlackHoleStream = require("black-hole-stream");

var blackHoleStream = new BlackHoleStream();

rs.pipe(blackHoleStream);