Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

null-duplex-stream

picospuch148MIT0.0.3

a /dev/null duplex stream

/dev/null, duplex, stream

readme

Null Duplex Stream

a duplex stream eat anything, milk nothing.

var fs = require('fs');
var NullDuplexStream = require('null-duplex-stream');

var nullStream = new NullDuplexStream();

// eat all your stdin input
process.stdin.pipe(nullStream);

// output nothing
nullStream.pipe(process.stdout);

Installation

npm install null-duplex-stream

License

MIT