{"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":{"integrity":"sha512-G2sf45oBKa84DeDXrYBzD/Ji/u7gLuCStXxVysHePP5eSjjvhL/OTPLyqcuHUAtTRlZO9Yof62BeuRg4ZcAszQ==","shasum":"c4bdd40684aa629e5f1356af6d148f4a7dd51580","tarball":"http://registry-npm.ywwl.com/stream-read-all/download/stream-read-all-1.0.0.tgz","fileCount":17,"unpackedSize":51517,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbIZaxCRA9TVsSAnZWagAApRgP/10d5QdY3QEWmvSBEBAg\ni5cvjsDbN8TMVlWTFc5Z/W7Or8U1+LLzsa2hC/Pzne9gFOi5p9+LtswfOBlo\nIz/QrPAg6mquVgZ906xx3I1BFoxJ20U3g1G+C9k+9euZFv7HUrSxpI12wMn0\nTIvpHVfMCgsvm+Z8KTezcYohqY8e8zsKAFXb9og+FQ35Q5K5Su8W3KlhAmu/\nC6XS30l2FYCqJieWG0Y0rAdp4CiT77kH6zgJmu0cwhQr8l37tnzTOSWZOiDF\nmU9fzfmIaCVdgscIzRtIpStlHmB1XVEvcfcb16RuXsjhrR2FyBdceE7OddOD\nDULIz6ExR8zXIbCODFZUOT7cw4wZxwbSUhtw9PE9rDXcOp335S3RR+EUOd69\nB+61RWtF6JHAMOwbTNwsmVo9pSL8hh19QVliuy0HzDBaKzygQVx2b7uMKeYo\ne0lqKvbAzlNB7a1Y1S1N0CCnf8IfkUSuBQdpQ91Bz/byZe+RyDqGV6Ji79gc\na6Ol+gFFlV9ASqfg5WYpMFx0DVSdc406Iho2T1ePJsZv7tfJXRuzvLCbuji+\naG4y2+mI/dVCM2l1xNR+quEt6m3KSyVpo2SInOhrG7mjgyp3W5HRSsGWdxk8\nI2BLW2gF6ArU3aELA1MMJIkDJM1Lfzp1KKwu6K+AX/SWuIDNNX02+XeYphmM\nxRyT\r\n=ssVU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkONGTHFNdcFPiYC0coSrifQt/3uwmRKQbIF4C58QAtwIgey5zbh6b2/7QGUiiptggX4CdrCf5RFrTZJZskWSuUaM="}],"size":16177,"noattachment":false,"key":"/stream-read-all/-/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,"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","publish_time":1528927921506,"_cnpm_publish_time":1528927921506,"dist-tags":{"latest":"5.0.2"}}