{"_id":"dev-null","_rev":"1349310","name":"dev-null","description":"/dev/null for node streams","dist-tags":{"latest":"0.1.1"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"time":{"modified":"2021-11-02T05:44:52.000Z","created":"2013-09-10T10:36:07.794Z","0.1.1":"2013-09-10T10:52:53.792Z","0.1.0":"2013-09-10T10:36:07.794Z"},"users":{"clux":true,"tosbodes":true},"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"http://thlorenz.com"},"repository":{"type":"git","url":"git://github.com/thlorenz/dev-null.git"},"versions":{"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","size":2439,"noattachment":false,"key":"/dev-null/-/dev-null-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/dev-null/download/dev-null-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1378810373792,"_cnpm_publish_time":1378810373792,"_hasShrinkwrap":false},"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","size":2409,"noattachment":false,"key":"/dev-null/-/dev-null-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dev-null/download/dev-null-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1378809367794,"_cnpm_publish_time":1378809367794,"_hasShrinkwrap":false}},"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\n","_attachments":{},"readmeFilename":"README.md","homepage":"https://github.com/thlorenz/dev-null","bugs":{"url":"https://github.com/thlorenz/dev-null/issues"},"license":{"type":"MIT","url":"https://github.com/thlorenz/dev-null/blob/master/LICENSE"}}