{"_id":"stdout-stream","_rev":"2881000","name":"stdout-stream","description":"Non-blocking stdout stream","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"mafintosh","email":""}],"time":{"modified":"2022-10-06T07:22:12.000Z","created":"2014-04-17T20:56:07.699Z","2.0.0":"2022-08-09T16:02:18.306Z","1.4.1":"2018-08-24T15:21:30.320Z","1.4.0":"2015-06-23T06:34:45.483Z","1.3.0":"2014-08-27T19:35:37.936Z","1.2.0":"2014-04-19T19:05:21.502Z","1.1.0":"2014-04-18T19:24:24.180Z","1.0.5":"2014-04-18T08:07:11.820Z","1.0.4":"2014-04-18T08:03:26.406Z","1.0.3":"2014-04-17T22:38:11.134Z","1.0.2":"2014-04-17T22:35:52.998Z","1.0.1":"2014-04-17T22:12:09.027Z","1.0.0":"2014-04-17T20:56:07.699Z"},"users":{"stringparser":true,"digitalsadhu":true},"repository":{"type":"git","url":"git+https://github.com/mafintosh/stdout-stream.git"},"versions":{"2.0.0":{"name":"stdout-stream","description":"Non-blocking stdout stream","version":"2.0.0","repository":{"type":"git","url":"git+https://github.com/mafintosh/stdout-stream.git"},"devDependencies":{"tape":"^5.5.3"},"scripts":{"test":"tape test/index.js"},"dependencies":{"readable-stream":"^4.1.0"},"license":"MIT","gitHead":"08422ad828786673a44f82528b5a3b54739ef77b","bugs":{"url":"https://github.com/mafintosh/stdout-stream/issues"},"homepage":"https://github.com/mafintosh/stdout-stream#readme","_id":"stdout-stream@2.0.0","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"shasum":"3f803e468255be8a4886befeb19925ff33875891","size":2344,"noattachment":false,"key":"/stdout-stream/-/stdout-stream-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stdout-stream/download/stdout-stream-2.0.0.tgz"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"maintainers":[{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stdout-stream_2.0.0_1660060938108_0.11207395064813963"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-09T16:06:57.999Z","publish_time":1660060938306,"_cnpm_publish_time":1660060938306},"1.4.1":{"name":"stdout-stream","description":"Non-blocking stdout stream","version":"1.4.1","repository":{"type":"git","url":"git+https://github.com/mafintosh/stdout-stream.git"},"devDependencies":{"tape":"~2.12.3"},"scripts":{"test":"tape test/index.js"},"dependencies":{"readable-stream":"^2.0.1"},"license":"MIT","gitHead":"084ba6528e7cb7641676e6a6ccda1a8704d3ac90","bugs":{"url":"https://github.com/mafintosh/stdout-stream/issues"},"homepage":"https://github.com/mafintosh/stdout-stream#readme","_id":"stdout-stream@1.4.1","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"5ac174cdd5cd726104aa0c0b2bd83815d8d535de","size":2418,"noattachment":false,"key":"/stdout-stream/-/stdout-stream-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stdout-stream/download/stdout-stream-1.4.1.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stdout-stream_1.4.1_1535124090262_0.8123374844268545"},"_hasShrinkwrap":false,"publish_time":1535124090320,"_cnpm_publish_time":1535124090320},"1.4.0":{"name":"stdout-stream","description":"Non-blocking stdout stream","version":"1.4.0","repository":{"type":"git","url":"git+https://github.com/mafintosh/stdout-stream.git"},"devDependencies":{"tape":"~2.12.3"},"scripts":{"test":"tape test/index.js"},"dependencies":{"readable-stream":"^2.0.1"},"gitHead":"0a65e6cdfadc5043a627d6d074f4f064f5f2d188","bugs":{"url":"https://github.com/mafintosh/stdout-stream/issues"},"homepage":"https://github.com/mafintosh/stdout-stream#readme","_id":"stdout-stream@1.4.0","_shasum":"a2c7c8587e54d9427ea9edb3ac3f2cd522df378b","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"a2c7c8587e54d9427ea9edb3ac3f2cd522df378b","size":2453,"noattachment":false,"key":"/stdout-stream/-/stdout-stream-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stdout-stream/download/stdout-stream-1.4.0.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1435041285483,"_cnpm_publish_time":1435041285483,"_hasShrinkwrap":false},"1.3.0":{"name":"stdout-stream","description":"Non-blocking stdout stream","version":"1.3.0","repository":{"type":"git","url":"https://github.com/mafintosh/stdout-stream"},"devDependencies":{"tape":"~2.12.3"},"scripts":{"test":"tape test/index.js"},"dependencies":{"readable-stream":"~1.0.27-1"},"gitHead":"331108b1636246b665118cdfd41dcf318f529186","bugs":{"url":"https://github.com/mafintosh/stdout-stream/issues"},"homepage":"https://github.com/mafintosh/stdout-stream","_id":"stdout-stream@1.3.0","_shasum":"700cecda85a8cb249b50d2deaca5478f24c8bf41","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"dist":{"shasum":"700cecda85a8cb249b50d2deaca5478f24c8bf41","size":2487,"noattachment":false,"key":"/stdout-stream/-/stdout-stream-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stdout-stream/download/stdout-stream-1.3.0.tgz"},"directories":{},"publish_time":1409168137936,"_cnpm_publish_time":1409168137936,"_hasShrinkwrap":false},"1.2.0":{"name":"stdout-stream","description":"Non-blocking stdout stream","version":"1.2.0","repository":{"type":"git","url":"git://github.com/mafintosh/stdout-stream"},"devDependencies":{"tape":"~2.12.3"},"scripts":{"test":"tape test/index.js"},"dependencies":{"readable-stream":"~1.0.27-1"},"bugs":{"url":"https://github.com/mafintosh/stdout-stream/issues"},"homepage":"https://github.com/mafintosh/stdout-stream","_id":"stdout-stream@1.2.0","dist":{"shasum":"7c7538d3fbf8c791d3fd3da21f486b7fa3373399","size":1738,"noattachment":false,"key":"/stdout-stream/-/stdout-stream-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stdout-stream/download/stdout-stream-1.2.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1397934321502,"_cnpm_publish_time":1397934321502,"_hasShrinkwrap":false},"1.1.0":{"name":"stdout-stream","description":"Non-blocking stdout stream","version":"1.1.0","repository":{"type":"git","url":"git://github.com/mafintosh/stdout-stream"},"devDependencies":{"tape":"~2.12.3"},"scripts":{"test":"tape test/index.js"},"dependencies":{"readable-stream":"~1.0.27-1"},"bugs":{"url":"https://github.com/mafintosh/stdout-stream/issues"},"homepage":"https://github.com/mafintosh/stdout-stream","_id":"stdout-stream@1.1.0","dist":{"shasum":"11fa37c481c17297dffbf9d9f77dd798c64c39de","size":1777,"noattachment":false,"key":"/stdout-stream/-/stdout-stream-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stdout-stream/download/stdout-stream-1.1.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1397849064180,"_cnpm_publish_time":1397849064180,"_hasShrinkwrap":false},"1.0.5":{"name":"stdout-stream","description":"Non-blocking stdout stream","version":"1.0.5","repository":{"type":"git","url":"git://github.com/mafintosh/stdout-stream"},"devDependencies":{"tape":"~2.12.3"},"scripts":{"test":"tape test/index.js"},"dependencies":{"readable-stream":"~1.0.27-1"},"bugs":{"url":"https://github.com/mafintosh/stdout-stream/issues"},"homepage":"https://github.com/mafintosh/stdout-stream","_id":"stdout-stream@1.0.5","dist":{"shasum":"d5cc1d47e561f0c6a20bcd801b13c146f1c0ce3f","size":1530,"noattachment":false,"key":"/stdout-stream/-/stdout-stream-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/stdout-stream/download/stdout-stream-1.0.5.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1397808431820,"_cnpm_publish_time":1397808431820,"_hasShrinkwrap":false},"1.0.4":{"name":"stdout-stream","description":"Non-blocking stdout stream","version":"1.0.4","repository":{"type":"git","url":"git://github.com/mafintosh/stdout-stream"},"devDependencies":{"tape":"~2.12.3"},"scripts":{"test":"tape test/index.js"},"bugs":{"url":"https://github.com/mafintosh/stdout-stream/issues"},"homepage":"https://github.com/mafintosh/stdout-stream","_id":"stdout-stream@1.0.4","dist":{"shasum":"7eb26075ceda2004ec3ed0e72b1655f9e922afca","size":1502,"noattachment":false,"key":"/stdout-stream/-/stdout-stream-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/stdout-stream/download/stdout-stream-1.0.4.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1397808206406,"_cnpm_publish_time":1397808206406,"_hasShrinkwrap":false},"1.0.3":{"name":"stdout-stream","description":"Non-blocking stdout stream","version":"1.0.3","repository":{"type":"git","url":"git://github.com/mafintosh/stdout-stream"},"devDependencies":{"tape":"~2.12.3"},"scripts":{"test":"tape test/index.js"},"bugs":{"url":"https://github.com/mafintosh/stdout-stream/issues"},"homepage":"https://github.com/mafintosh/stdout-stream","_id":"stdout-stream@1.0.3","dist":{"shasum":"c75a5a6d1e3a87d258f2eaf9cc5e0c285da59c24","size":1306,"noattachment":false,"key":"/stdout-stream/-/stdout-stream-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/stdout-stream/download/stdout-stream-1.0.3.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1397774291134,"_cnpm_publish_time":1397774291134,"_hasShrinkwrap":false},"1.0.2":{"name":"stdout-stream","description":"Non-blocking stdout stream","version":"1.0.2","repository":{"type":"git","url":"git://github.com/mafintosh/stdout-stream"},"devDependencies":{"tape":"^2.12.3"},"scripts":{"test":"tape test/index.js"},"bugs":{"url":"https://github.com/mafintosh/stdout-stream/issues"},"homepage":"https://github.com/mafintosh/stdout-stream","_id":"stdout-stream@1.0.2","dist":{"shasum":"fa60244f3da5d5d2c98643bf5b912efd073878dd","size":1304,"noattachment":false,"key":"/stdout-stream/-/stdout-stream-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/stdout-stream/download/stdout-stream-1.0.2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1397774152998,"_cnpm_publish_time":1397774152998,"_hasShrinkwrap":false},"1.0.1":{"name":"stdout-stream","description":"Non-blocking stdout stream","version":"1.0.1","repository":{"type":"git","url":"git://github.com/mafintosh/stdout-stream"},"bugs":{"url":"https://github.com/mafintosh/stdout-stream/issues"},"homepage":"https://github.com/mafintosh/stdout-stream","_id":"stdout-stream@1.0.1","dist":{"shasum":"1f950069177ee17c5f68fedc04bd53dfdd6653b2","size":946,"noattachment":false,"key":"/stdout-stream/-/stdout-stream-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stdout-stream/download/stdout-stream-1.0.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1397772729027,"_cnpm_publish_time":1397772729027,"_hasShrinkwrap":false},"1.0.0":{"name":"stdout-stream","description":"Non-blocking stdout stream","version":"1.0.0","repository":{"type":"git","url":"git://github.com/mafintosh/stdout-stream"},"bugs":{"url":"https://github.com/mafintosh/stdout-stream/issues"},"homepage":"https://github.com/mafintosh/stdout-stream","_id":"stdout-stream@1.0.0","dist":{"shasum":"815fd02b4d0e7cb62f52340aaac35f408363693f","size":865,"noattachment":false,"key":"/stdout-stream/-/stdout-stream-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stdout-stream/download/stdout-stream-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1397768167699,"_cnpm_publish_time":1397768167699,"_hasShrinkwrap":false}},"readme":"# stdout-stream\n\nNon-blocking stdout stream\n\n\tnpm install stdout-stream\n\n[![build status](http://img.shields.io/travis/mafintosh/level-filesystem.svg?style=flat)](http://travis-ci.org/mafintosh/stdout-stream)\n![dat](http://img.shields.io/badge/Development%20sponsored%20by-dat-green.svg?style=flat)\n\n\n## Rant\n\nTry saving this example as `example.js`\n\n``` js\nconsole.error('start');\nprocess.stdout.write(new Buffer(1024*1024));\nconsole.error('end');\n```\n\nAnd run the following program\n\n```\nnode example.js | sleep 1000\n```\n\nThe program will never print `end` since stdout in node currently is blocking - even when its being piped (!).\n\nstdout-stream tries to fix this by being a stream that writes to stdout but never blocks\n\n## Usage\n\n``` js\nvar stdout = require('stdout-stream');\n\nstdout.write('hello\\n'); // write should NEVER block\nstdout.write('non-blocking\\n')\nstdout.write('world\\n');\n```\n\n`stdout-stream` should behave in the same way as `process.stdout` (i.e. do not end on pipe etc)\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/mafintosh/stdout-stream#readme","bugs":{"url":"https://github.com/mafintosh/stdout-stream/issues"},"license":"MIT"}