{"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":{"integrity":"sha512-xw6wWZmt2j9YikgHv5+85+MnNnn2lPoqBZndypJLO/od1Gknj8xQA2QxP1wqn4u2MvWwGnLlErufdHdrppcmfQ==","shasum":"30747e0f26ec13671758f0c701dc884c677b9170","tarball":"http://registry-npm.ywwl.com/stream-read-all/download/stream-read-all-1.0.1.tgz","fileCount":3,"unpackedSize":2971,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbIZedCRA9TVsSAnZWagAAnyAQAIjLlgBPQD/pMfSe+s8j\n+HWUEilS0My8ksiowj0Kjpftr5HXSY60ZAGY+anCkCSFVLX1LI3x7tg8Cnt2\ni8ocxC4KGEiG6RyPhJbBOVW32F9OLMQwKORQEYRCK0tRcPt2p+9NP6SAX2oL\n91d385bS6xtvzV0G6BKZskHxUJpuXVXSOGdjIBaClUTR7CAUzmMDCl6jKwXR\nJOuBODLxKRUa57ep4WJ8c29YaobVyQOVbuVmLHf66TXBN9JtbiLFzWzpkom3\nA07DBYzS/gQmbCQ48+Q/tnn0xCM7KULIBn0rPlbd0n8XhUpp/+86HusSjloG\n+OdCKYsMf4hcpmMO05Z8iiCOSdGR2owp3lo9rLlPxXNCCIM4xGYzPdR8qnej\nP0/cbWbkz6/lge8+F9CaET6x0AobDZJAfSM3ABu5Nvoz0ExWscJ1vf7XhDFG\nNzvO07sAOQCP6lmPjoURcNozJf5Ujqs3T6YSbcgriyIGsGideDs1Ar35+Y49\nhxI58U6LMaF1foyNOaILlTDR0nHPgK2lzENElaJG+q5t6h8LIr5PqtRPnl1C\n7JcmgwnLxjcu1Z7jC5sZN6Y7l+/GycaPDBuzZHUo7NXj6fBnVFEla2gBl1lt\nwqzDqR2H/Fegp+eYOM5/5uXNbYseEvKH41Xr2c1mTgMg17ADYWtPY3ivNgRh\nnypt\r\n=GmFJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiDNZBfO5Q/c3eIiYVVNX4lmqyii8H7Hb2R5Okw48UtAIgLX3GehAGrH5FNGmk46RbvStFhijzqHAdTOtahOwRurU="}],"size":1323,"noattachment":false,"key":"/stream-read-all/-/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,"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":1528928157143,"_cnpm_publish_time":1528928157143,"dist-tags":{"latest":"5.0.2"}}