{"versions":{"0.1.0":{"name":"dev-null","version":"0.1.0","description":"/dev/null for node streams","main":"index.js","scripts":{"test-main":"tap test/*.js","test-0.10":"nave use 0.10 npm run test-main","test-all":"npm run test-main && npm run test-0.10","test":"if [ -e $TRAVIS ]; then npm run test-all; else npm run test-main; fi"},"repository":{"type":"git","url":"git://github.com/thlorenz/dev-null.git"},"homepage":"https://github.com/thlorenz/dev-null","dependencies":{},"devDependencies":{"nave":"~0.4.3","tap":"~0.4.3","tap-stream":"~0.2.0"},"keywords":[],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":{"type":"MIT","url":"https://github.com/thlorenz/dev-null/blob/master/LICENSE"},"engine":{"node":">=0.10"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/dev-null/issues"},"_id":"dev-null@0.1.0","dist":{"shasum":"232c298c6e6733f56f6c09752f01d1b7c6427c0a","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dev-null/-/dev-null-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"anonymous","email":"thlorenz@gmx.de"},"maintainers":[{"name":"anonymous","email":"thlorenz@gmx.de"}],"directories":{},"contributors":[]},"0.1.1":{"name":"dev-null","version":"0.1.1","description":"/dev/null for node streams","main":"index.js","scripts":{"test-main":"tap test/*.js","test-0.10":"nave use 0.10 npm run test-main","test-all":"npm run test-main && npm run test-0.10","test":"if [ -e $TRAVIS ]; then npm run test-all; else npm run test-main; fi"},"repository":{"type":"git","url":"git://github.com/thlorenz/dev-null.git"},"homepage":"https://github.com/thlorenz/dev-null","dependencies":{},"devDependencies":{"nave":"~0.4.3","tap":"~0.4.3","tap-stream":"~0.2.0"},"keywords":["streams","test","debug","ignore","silence"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"license":{"type":"MIT","url":"https://github.com/thlorenz/dev-null/blob/master/LICENSE"},"engine":{"node":">=0.10"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/dev-null/issues"},"_id":"dev-null@0.1.1","dist":{"shasum":"5a205ce3c2b2ef77b6238d6ba179eb74c6a0e818","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dev-null/-/dev-null-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"anonymous","email":"thlorenz@gmx.de"},"maintainers":[{"name":"anonymous","email":"thlorenz@gmx.de"}],"directories":{},"contributors":[]}},"dist-tags":{"latest":"0.1.1"},"name":"dev-null","time":{"modified":"2023-08-04T02:17:49.633Z","created":"2022-01-26T18:01:24.815Z","0.1.0":"2013-09-10T10:36:07.794Z","0.1.1":"2013-09-10T10:52:53.792Z"},"readme":"# dev-null [![build status](https://secure.travis-ci.org/thlorenz/dev-null.png)](http://travis-ci.org/thlorenz/dev-null)\n\n`/dev/null` for node streams\n\nUse it whenever you need to interrupt stream flow for instance if you want to log the state of a stream instead of its\noutput.\n\n```js\n// without devnull\nvar numbers = require('../test/fixtures/number-readable')\n\nnumbers({ to: 2 })\n  .on('data', function (d) { console.log(d.toString()) });\n// => \n// 0\n// 1\n// 2\n```\n\n```js\n// piping into devnull\nvar devnull = require('dev-null');\nvar numbers = require('../test/fixtures/number-readable');\n\nnumbers({ to: 2 })\n  .pipe(devnull())\n  .on('data', function (d) { console.log(d.toString()) });\n\n// => (no output)\n```\n\n## Installation\n\n    npm install dev-null\n\n## License\n\nMIT","users":{}}