{"_id":"stream-read-all","_rev":"3518625","name":"stream-read-all","description":"Returns a promise which fulfils with the supplied stream's content","dist-tags":{"latest":"4.0.0"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"time":{"modified":"2024-08-27T20:52:51.000Z","created":"2017-06-18T09:10:54.792Z","4.0.0":"2023-03-19T17:24:42.473Z","3.0.1":"2020-10-05T17:40:39.969Z","3.0.0":"2020-04-01T17:40:34.945Z","2.0.0":"2019-05-20T10:55:48.863Z","1.0.1":"2018-06-13T22:15:57.143Z","1.0.0":"2018-06-13T22:12:01.506Z","0.1.2":"2017-08-09T22:38:21.694Z","0.1.1":"2017-06-29T20:52:46.938Z","0.1.0":"2017-06-18T09:10:54.792Z"},"users":{},"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/75lb/stream-read-all.git"},"versions":{"4.0.0":{"name":"stream-read-all","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"4.0.0","description":"Returns a promise which fulfils with the supplied stream's content","repository":{"type":"git","url":"git+https://github.com/75lb/stream-read-all.git"},"type":"module","exports":{"import":"./index.js","require":"./dist/index.cjs"},"keywords":["concat","stream","read","all","collect","buffers","concatenate"],"license":"MIT","engines":{"node":">=12.20"},"scripts":{"test":"npm run dist && npm run test:ci","test:ci":"test-runner test.js","dist":"rollup -c"},"standard":{"ignore":["tmp","dist"],"envs":[]},"devDependencies":{"rollup":"^3.19.1","test-runner":"^0.10.1"},"gitHead":"2001d650787d3e2601cb18163fc60b1d2e7d907d","bugs":{"url":"https://github.com/75lb/stream-read-all/issues"},"homepage":"https://github.com/75lb/stream-read-all#readme","_id":"stream-read-all@4.0.0","_nodeVersion":"19.8.1","_npmVersion":"9.5.1","dist":{"shasum":"ab399f4afa1b7f5f237a402e11cfaa0ab2eaecb8","size":2219,"noattachment":false,"key":"/stream-read-all/-/stream-read-all-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-read-all/download/stream-read-all-4.0.0.tgz"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stream-read-all_4.0.0_1679246682371_0.9358592906112748"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-19T17:24:42.473Z","publish_time":1679246682473,"_cnpm_publish_time":1679246682473},"3.0.1":{"name":"stream-read-all","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"3.0.1","description":"Returns a promise which resolves once all data in the supplied stream has been read","repository":{"type":"git","url":"git+https://github.com/75lb/stream-read-all.git"},"keywords":["concat","stream","read","all","collect","buffers","concatenate"],"license":"MIT","engines":{"node":">=10"},"scripts":{"test":"test-runner test.js","cover":"nyc --reporter=text-lcov npm test | coveralls"},"dependencies":{},"devDependencies":{"coveralls":"^3.1.0","test-runner":"^0.8.13"},"gitHead":"0deec1dcac824e660857e2d29c47e8786555b3b2","bugs":{"url":"https://github.com/75lb/stream-read-all/issues"},"homepage":"https://github.com/75lb/stream-read-all#readme","_id":"stream-read-all@3.0.1","_nodeVersion":"14.13.0","_npmVersion":"6.14.8","dist":{"shasum":"60762ae45e61d93ba0978cda7f3913790052ad96","size":2006,"noattachment":false,"key":"/stream-read-all/-/stream-read-all-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-read-all/download/stream-read-all-3.0.1.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stream-read-all_3.0.1_1601919639809_0.18695786745592824"},"_hasShrinkwrap":false,"publish_time":1601919639969,"_cnpm_publish_time":1601919639969},"3.0.0":{"name":"stream-read-all","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"3.0.0","description":"Returns a promise which resolves once all data in the supplied stream has been read","repository":{"type":"git","url":"git+https://github.com/75lb/stream-read-all.git"},"keywords":["concat","stream","read","all","collect","buffers","concatenate"],"license":"MIT","engines":{"node":">10"},"scripts":{"test":"test-runner test.js","cover":"nyc --reporter=text-lcov npm test | coveralls"},"dependencies":{},"devDependencies":{"coveralls":"^3.0.11","test-runner":"^0.8.13"},"gitHead":"ff0717f0942d125dc62abc03589e633faa920fa8","bugs":{"url":"https://github.com/75lb/stream-read-all/issues"},"homepage":"https://github.com/75lb/stream-read-all#readme","_id":"stream-read-all@3.0.0","_nodeVersion":"13.12.0","_npmVersion":"6.14.4","dist":{"shasum":"ae5a7492fecaa26fcf66ea433ffdecd418886a86","size":2004,"noattachment":false,"key":"/stream-read-all/-/stream-read-all-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-read-all/download/stream-read-all-3.0.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stream-read-all_3.0.0_1585762834825_0.7417001230591209"},"_hasShrinkwrap":false,"publish_time":1585762834945,"_cnpm_publish_time":1585762834945},"2.0.0":{"name":"stream-read-all","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"2.0.0","description":"Returns a promise which resolves once all data in the supplied stream has been read","repository":{"type":"git","url":"git+https://github.com/75lb/stream-read-all.git"},"keywords":["concat","stream","read","all","collect","buffers","concatenate"],"license":"MIT","engines":{"node":">=8"},"scripts":{"test":"test-runner test.js","cover":"nyc --reporter=text-lcov npm test | coveralls"},"dependencies":{},"devDependencies":{"coveralls":"^3.0.3","test-runner":"^0.6.0"},"gitHead":"931ce3f47571637b3df1828d41ca79c570cf6671","bugs":{"url":"https://github.com/75lb/stream-read-all/issues"},"homepage":"https://github.com/75lb/stream-read-all#readme","_id":"stream-read-all@2.0.0","_nodeVersion":"12.1.0","_npmVersion":"6.9.0","dist":{"shasum":"1c881392b717dff4bd884b9cf1a8c496a25beddf","size":1319,"noattachment":false,"key":"/stream-read-all/-/stream-read-all-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-read-all/download/stream-read-all-2.0.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stream-read-all_2.0.0_1558349748744_0.8888461975486199"},"_hasShrinkwrap":false,"publish_time":1558349748863,"_cnpm_publish_time":1558349748863},"1.0.1":{"name":"stream-read-all","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.0.1","description":"Returns a promise which resolves once all data in the supplied stream has been read","repository":{"type":"git","url":"git+https://github.com/75lb/stream-read-all.git"},"keywords":["concat","stream","read","all","collect","buffers","concatenate"],"license":"MIT","engines":{"node":">=6"},"scripts":{"test":"test-runner test/*.js","cover":"nyc --reporter=text-lcov npm test | coveralls"},"files":["index.js"],"dependencies":{},"devDependencies":{"coveralls":"^3.0.1","test-runner":"^0.5.0"},"gitHead":"4f679c0774e83eb032a72f5f83efaaf50d261349","bugs":{"url":"https://github.com/75lb/stream-read-all/issues"},"homepage":"https://github.com/75lb/stream-read-all#readme","_id":"stream-read-all@1.0.1","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"30747e0f26ec13671758f0c701dc884c677b9170","size":1323,"noattachment":false,"key":"/stream-read-all/-/stream-read-all-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-read-all/download/stream-read-all-1.0.1.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stream-read-all_1.0.1_1528928157041_0.11680278368826635"},"_hasShrinkwrap":false,"publish_time":1528928157143,"_cnpm_publish_time":1528928157143},"1.0.0":{"name":"stream-read-all","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.0.0","description":"Returns a promise which resolves once all data in the supplied stream has been read","repository":{"type":"git","url":"git+https://github.com/75lb/stream-read-all.git"},"keywords":["concat","stream","read","all","collect","buffers","concatenate"],"license":"MIT","engines":{"node":">=6"},"scripts":{"test":"test-runner test/*.js","cover":"nyc --reporter=text-lcov npm test | coveralls"},"dependencies":{},"devDependencies":{"coveralls":"^3.0.1","test-runner":"^0.5.0"},"gitHead":"3f68c0dec39052d25d38d0876710ed5ae38d8918","bugs":{"url":"https://github.com/75lb/stream-read-all/issues"},"homepage":"https://github.com/75lb/stream-read-all#readme","_id":"stream-read-all@1.0.0","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"c4bdd40684aa629e5f1356af6d148f4a7dd51580","size":16177,"noattachment":false,"key":"/stream-read-all/-/stream-read-all-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-read-all/download/stream-read-all-1.0.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stream-read-all_1.0.0_1528927921405_0.9838615882617261"},"_hasShrinkwrap":false,"publish_time":1528927921506,"_cnpm_publish_time":1528927921506},"0.1.2":{"name":"stream-read-all","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.1.2","description":"stream-read-all","repository":{"type":"git","url":"git+https://github.com/75lb/stream-read-all.git"},"keywords":["concat","stream","read","all","collect","buffers","concatenate"],"license":"MIT","engines":{"node":">=4"},"scripts":{"test":"test-runner test/*.js","cover":"istanbul cover ./node_modules/.bin/test-runner test/*.js && cat coverage/lcov.info | ./node_modules/.bin/coveralls && echo"},"dependencies":{},"devDependencies":{"coveralls":"^2.13.1","test-runner":"^0.4.0"},"gitHead":"97368c2839823cf5a82eedf3e9f62327623bc0ec","bugs":{"url":"https://github.com/75lb/stream-read-all/issues"},"homepage":"https://github.com/75lb/stream-read-all#readme","_id":"stream-read-all@0.1.2","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"748718e89281fff6b0742918233415a6900387e1","size":15263,"noattachment":false,"key":"/stream-read-all/-/stream-read-all-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-read-all/download/stream-read-all-0.1.2.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stream-read-all-0.1.2.tgz_1502318300643_0.620262679643929"},"directories":{},"publish_time":1502318301694,"_hasShrinkwrap":false,"_cnpm_publish_time":1502318301694},"0.1.1":{"name":"stream-read-all","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.1.1","description":"stream-read-all","repository":{"type":"git","url":"git+https://github.com/75lb/stream-read-all.git"},"keywords":["concat","stream","read","all","collect","buffers","concatenate"],"license":"MIT","engines":{"node":">=4"},"scripts":{"test":"test-runner test/*.js","cover":"istanbul cover ./node_modules/.bin/test-runner test/*.js && cat coverage/lcov.info | ./node_modules/.bin/coveralls && echo"},"dependencies":{"test-runner":"^0.4.0"},"devDependencies":{"coveralls":"^2.13.1"},"gitHead":"f4a414cc1eecdf27e3d817cfd9e72ce0ca05dde4","bugs":{"url":"https://github.com/75lb/stream-read-all/issues"},"homepage":"https://github.com/75lb/stream-read-all#readme","_id":"stream-read-all@0.1.1","_npmVersion":"5.0.3","_nodeVersion":"8.1.3","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"3212266899ffa9b8d0d9aa1f0b7bec897ba6c977","size":21337,"noattachment":false,"key":"/stream-read-all/-/stream-read-all-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-read-all/download/stream-read-all-0.1.1.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stream-read-all-0.1.1.tgz_1498769565862_0.09194201976060867"},"directories":{},"publish_time":1498769566938,"_cnpm_publish_time":1498769566938,"_hasShrinkwrap":false},"0.1.0":{"name":"stream-read-all","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.1.0","description":"stream-read-all","repository":{"type":"git","url":"git+https://github.com/75lb/stream-read-all.git"},"keywords":["concat","stream","read","all","collect","buffers","concatenate"],"license":"MIT","engines":{"node":">=4"},"scripts":{"test":"test-runner test/*.js"},"dependencies":{"test-runner":"^0.4.0"},"gitHead":"ca692b343a98296332fb8fc7a34f8879154c0e0d","bugs":{"url":"https://github.com/75lb/stream-read-all/issues"},"homepage":"https://github.com/75lb/stream-read-all#readme","_id":"stream-read-all@0.1.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"04fd4498d4f29717f5b7f316354425cf318c6385","size":3246,"noattachment":false,"key":"/stream-read-all/-/stream-read-all-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-read-all/download/stream-read-all-0.1.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stream-read-all-0.1.0.tgz_1497777053861_0.8750091490801424"},"directories":{},"publish_time":1497777054792,"_hasShrinkwrap":false,"_cnpm_publish_time":1497777054792}},"readme":"[![view on npm](https://badgen.net/npm/v/stream-read-all)](https://www.npmjs.org/package/stream-read-all)\n[![npm module downloads](https://badgen.net/npm/dt/stream-read-all)](https://www.npmjs.org/package/stream-read-all)\n[![Gihub repo dependents](https://badgen.net/github/dependents-repo/75lb/stream-read-all)](https://github.com/75lb/stream-read-all/network/dependents?dependent_type=REPOSITORY)\n[![Gihub package dependents](https://badgen.net/github/dependents-pkg/75lb/stream-read-all)](https://github.com/75lb/stream-read-all/network/dependents?dependent_type=PACKAGE)\n[![Node.js CI](https://github.com/75lb/stream-read-all/actions/workflows/node.js.yml/badge.svg)](https://github.com/75lb/stream-read-all/actions/workflows/node.js.yml)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)\n\n# stream-read-all\n\nReturns a promise which fulfils with the supplied stream's content. Supports both regular and [object mode](https://nodejs.org/dist/latest-v19.x/docs/api/stream.html#object-mode) streams.\n\nThis example script...\n\n```js\nimport streamReadAll from 'stream-read-all'\nconst stdin = await streamReadAll(process.stdin)\nconsole.log(stdin.toString())\n```\n\n...prints this output.\n\n```\n$ echo Hello | node example.js\nHello\n```\n\n* * *\n\n&copy; 2017-23 Lloyd Brookes <75pound@gmail.com>.\n","_attachments":{},"homepage":"https://github.com/75lb/stream-read-all#readme","bugs":{"url":"https://github.com/75lb/stream-read-all/issues"},"license":"MIT"}