| 1 |
{ |
| 2 |
"_id": "minipass-collect", |
| 3 |
"_rev": "2-a0fe8c4f17f5b0ff7d194eadb1c89949", |
| 4 |
"name": "minipass-collect", |
| 5 |
"dist-tags": { |
| 6 |
"latest": "1.0.2" |
| 7 |
}, |
| 8 |
"versions": { |
| 9 |
"1.0.0": { |
| 10 |
"name": "minipass-collect", |
| 11 |
"version": "1.0.0", |
| 12 |
"description": "A Minipass stream that collects all the data into a single chunk", |
| 13 |
"author": { |
| 14 |
"name": "Isaac Z. Schlueter", |
| 15 |
"email": "[email protected]", |
| 16 |
"url": "https://izs.me" |
| 17 |
}, |
| 18 |
"license": "ISC", |
| 19 |
"scripts": { |
| 20 |
"test": "tap", |
| 21 |
"snap": "tap", |
| 22 |
"preversion": "npm test", |
| 23 |
"postversion": "npm publish", |
| 24 |
"postpublish": "git push origin --follow-tags" |
| 25 |
}, |
| 26 |
"tap": { |
| 27 |
"check-coverage": true |
| 28 |
}, |
| 29 |
"devDependencies": { |
| 30 |
"tap": "^14.6.4" |
| 31 |
}, |
| 32 |
"dependencies": { |
| 33 |
"minipass": "^2.5.1" |
| 34 |
}, |
| 35 |
"gitHead": "a35731a6b23dfd35854ae2fe20c3e209bc43de80", |
| 36 |
"_id": "[email protected]", |
| 37 |
"_nodeVersion": "12.8.1", |
| 38 |
"_npmVersion": "6.11.3", |
| 39 |
"dist": { |
| 40 |
"integrity": "sha512-Fvc482x6pBH+5Eg2JyMbFOLhjcwRIv1dmZGQwnALZ1wjR1+OX6tInTc3IoTJugbkNrzWFL1Y5Y7np14geHmCvA==", |
| 41 |
"shasum": "248d067baa462694188962cc6cf532aa19269ca2", |
| 42 |
"tarball": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.0.tgz", |
| 43 |
"fileCount": 4, |
| 44 |
"unpackedSize": 3638, |
| 45 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdfro2CRA9TVsSAnZWagAA/dAQAKICTZujxH8gboXPtySe\n6FQTNdzCFWPjruF6dKVMMTV3YHbHqMqEL+NgOeKvc8RLcLy5/i7w5L6JTZ3U\nbk2acMP0IG0WCSX66E/cxBLcpUzJegbE8cQA9isQuoUVw0rWo7DlTumfHrR/\nDlysPSmoaRPc3en1BEP+Sxn5p+lvRyd7WpaoPzJWLPF09rsyclb6FE0/fKwi\nP48XCDWICR0Eq64r87Lx1NbNb6EN233fkOL63gpsXW017oNjYFEEYHaYYqqh\n2QZisiRZk53F7T1POf2mk8IjUnNYA3aw8K7BNA9oV/h3UaBhMIAWiqem/G0V\ngZTPinU1qOZRSI9DiFLEk5arPH1iQ4ufQRFJ/f3DHLaycoeC2mE8ILrxMMBu\nXqG1KUGDl7uYX5cuByewWUkU49dc5sGDEFV06MqCZcsy5RFDvBXtPTmSlhMK\ng7Fw1tf7mhSHvpQTXo7kE+Hmx3ErACWdFw6yg+zTJeLIcbH4VzgxURgZ0cgD\nnNo+rozuyGWwev/BTbHEC+gmqE61Agx+lcVu2HqBdZ6mk0uHxOEf9cLE6T5b\ntWJBo1fTiF2YGRGnY11J4C5hyMuFSpykBDCWa3pcj6c/wfXgyD+payxWLObf\nTMN6QYyIBHCyAm/jciqKLGAyetba8gCWiUnMvH3D0tSYjtKuSAkqNlZc6Tug\ntfQn\r\n=uLVM\r\n-----END PGP SIGNATURE-----\r\n" |
| 46 |
}, |
| 47 |
"maintainers": [ |
| 48 |
{ |
| 49 |
"name": "isaacs", |
| 50 |
"email": "[email protected]" |
| 51 |
} |
| 52 |
], |
| 53 |
"_npmUser": { |
| 54 |
"name": "isaacs", |
| 55 |
"email": "[email protected]" |
| 56 |
}, |
| 57 |
"directories": {}, |
| 58 |
"_npmOperationalInternal": { |
| 59 |
"host": "s3://npm-registry-packages", |
| 60 |
"tmp": "tmp/minipass-collect_1.0.0_1568586294266_0.059989271495353824" |
| 61 |
}, |
| 62 |
"_hasShrinkwrap": false |
| 63 |
}, |
| 64 |
"1.0.1": { |
| 65 |
"name": "minipass-collect", |
| 66 |
"version": "1.0.1", |
| 67 |
"description": "A Minipass stream that collects all the data into a single chunk", |
| 68 |
"author": { |
| 69 |
"name": "Isaac Z. Schlueter", |
| 70 |
"email": "[email protected]", |
| 71 |
"url": "https://izs.me" |
| 72 |
}, |
| 73 |
"license": "ISC", |
| 74 |
"scripts": { |
| 75 |
"test": "tap", |
| 76 |
"snap": "tap", |
| 77 |
"preversion": "npm test", |
| 78 |
"postversion": "npm publish", |
| 79 |
"postpublish": "git push origin --follow-tags" |
| 80 |
}, |
| 81 |
"tap": { |
| 82 |
"check-coverage": true |
| 83 |
}, |
| 84 |
"devDependencies": { |
| 85 |
"tap": "^14.6.4" |
| 86 |
}, |
| 87 |
"dependencies": { |
| 88 |
"minipass": "^2.5.1" |
| 89 |
}, |
| 90 |
"gitHead": "b4ab479a0a07bb49c6315b7d01c0ae07c340ce96", |
| 91 |
"_id": "[email protected]", |
| 92 |
"_nodeVersion": "12.8.1", |
| 93 |
"_npmVersion": "6.11.3", |
| 94 |
"dist": { |
| 95 |
"integrity": "sha512-mg9mz9bTiormVPZ0+1ywhx378ZL64RXpzyFByQ/qpLg2ZpXgyMNYnSSrE2GMW/q0JwaEfzcJySPcItQI/eTTHA==", |
| 96 |
"shasum": "4e145371e0032332d398bb0e18bdbd56b7131443", |
| 97 |
"tarball": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.1.tgz", |
| 98 |
"fileCount": 4, |
| 99 |
"unpackedSize": 4258, |
| 100 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdfsMOCRA9TVsSAnZWagAABkEQAJmk7XJw59RCPe9JBFwI\ntwP1q17g4samFMfHiff88dsjl6yznSab+3ZNefSFOB/WlIrFZFW/1g3F6u6V\n25rHU1Gc3aoTAaQt6CywvicSKHZKFmobGIGfyHOp4R9+J4+vpfnzajUy2E0Q\nj3WhWu+uu9+8o1TGAcPZqCl4T4tjoaZY0yl1SeluTuBJ5blIP75ybXxdnn1l\n6GlAHf1+/RIvKOiYX3LkHxcDDUjvPVY8pWBS3/nQXOY/P3/9MBCOY/NfO+mH\nsIndgMB+mhvVjW1h/T0Nl2F3nWY5uB3EfJgrW49RttcxYpHpp49+j/IYvzIr\neEG90inAsu9uVGZPNPd5hInF/h/qVWQhKae1HiNEeTtIvcd2U9kqO2oTkH6q\n89yJ01ohuLdMlKleaAV/n3Am42ynZaQEV+GiR9CmsZkV5EBsCz9wPPAmOsAl\nwJu8pVKqNN1S8bltsQn0wqSaj0vKzql/48ZSibiLB+q0OA32gkiHr4zZVrda\n0z1bhV1NO7795V6FKO/OQvw6e5F/mwEv/HU1g+pqAosbudqq6Yee6E+NL1US\n2i/KRNvePh/menHEQxWtHuuZWOhGtLWgTkNnuGYyz2Ootww0vpK30Rg+RODS\nZQHPN9o0sQ77NeTN2G1akoeLf9XUAHqqn+NcvLKVdh8b+QJCeCXt5LnTRfLW\nWntW\r\n=LciM\r\n-----END PGP SIGNATURE-----\r\n" |
| 101 |
}, |
| 102 |
"maintainers": [ |
| 103 |
{ |
| 104 |
"name": "isaacs", |
| 105 |
"email": "[email protected]" |
| 106 |
} |
| 107 |
], |
| 108 |
"_npmUser": { |
| 109 |
"name": "isaacs", |
| 110 |
"email": "[email protected]" |
| 111 |
}, |
| 112 |
"directories": {}, |
| 113 |
"_npmOperationalInternal": { |
| 114 |
"host": "s3://npm-registry-packages", |
| 115 |
"tmp": "tmp/minipass-collect_1.0.1_1568588558407_0.11337844967850974" |
| 116 |
}, |
| 117 |
"_hasShrinkwrap": false |
| 118 |
}, |
| 119 |
"1.0.2": { |
| 120 |
"name": "minipass-collect", |
| 121 |
"version": "1.0.2", |
| 122 |
"description": "A Minipass stream that collects all the data into a single chunk", |
| 123 |
"author": { |
| 124 |
"name": "Isaac Z. Schlueter", |
| 125 |
"email": "[email protected]", |
| 126 |
"url": "https://izs.me" |
| 127 |
}, |
| 128 |
"license": "ISC", |
| 129 |
"scripts": { |
| 130 |
"test": "tap", |
| 131 |
"snap": "tap", |
| 132 |
"preversion": "npm test", |
| 133 |
"postversion": "npm publish", |
| 134 |
"postpublish": "git push origin --follow-tags" |
| 135 |
}, |
| 136 |
"tap": { |
| 137 |
"check-coverage": true |
| 138 |
}, |
| 139 |
"devDependencies": { |
| 140 |
"tap": "^14.6.9" |
| 141 |
}, |
| 142 |
"dependencies": { |
| 143 |
"minipass": "^3.0.0" |
| 144 |
}, |
| 145 |
"engines": { |
| 146 |
"node": ">= 8" |
| 147 |
}, |
| 148 |
"gitHead": "95c7358c4b4f940568f209dd408730a6943ecb8e", |
| 149 |
"_id": "[email protected]", |
| 150 |
"_nodeVersion": "12.8.1", |
| 151 |
"_npmVersion": "6.12.0-next.0", |
| 152 |
"dist": { |
| 153 |
"integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", |
| 154 |
"shasum": "22b813bf745dc6edba2576b940022ad6edc8c617", |
| 155 |
"tarball": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", |
| 156 |
"fileCount": 4, |
| 157 |
"unpackedSize": 4870, |
| 158 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdkmwkCRA9TVsSAnZWagAAoUcQAKLpcA5ZfbCVNA8pTrEa\ne5C7ub3A0cVTL/Njf0FP0/IFQZh5GYx2xHofzMPPwcwWPCQZdc12a0/bAiif\nUq6sxb3cjObiMhl6GhlJ3CpRWNe7mQ7C9ba6r70LVA/mgL7BHi08NtT3pzc5\nQ3BwFXYG2nAXRubLFE6Glmrg+QVipAbL3Y1ORWtrqGwEOxYkvnhJKmwNLtVD\nFDvAzrfbovg5xvv3OaUYHhfJf29UY0c9B2KRJD+y6KkAmIdUn9/FSzgNwYUV\nsq7+/RcI6c0/2XwI7jYymc0/InI46XUuU9wzen/7/tim05nyQ18ViTwfzKoJ\n9hX/DCy3NrEoRJalDuuKpY6WpaPxESaiJchmH05rq7yXn/WAnBwI6UphPlhA\n3vLm39y7lKWbfkUsXT07T/VnW+P+yZW2WE8FAflQgEIr/R6m+RKHt7DYRdvD\newWo7rB81hPYlG4Lzp5OcujZrd4XBtYMf1N3ZLC9qsp0FbrnisAdtTb4TKic\nYCmY+f7cutXVWuTxUB5KWZhN231gE8JH8S2YXscaEG9ooAAB2VppRK7cYI93\n7PdGsawPCIteyrbemj+FxmMSokVpy+GvpX95LqzNsT/r9+KGH6i75N2nZ6Gf\nabLbSCYgpyzQcY3DdPnOmsGBn9R9gvZUpIcTxdKK+P49PLrYHz0XpgQnb7MM\ntm8r\r\n=c5M/\r\n-----END PGP SIGNATURE-----\r\n" |
| 159 |
}, |
| 160 |
"maintainers": [ |
| 161 |
{ |
| 162 |
"name": "isaacs", |
| 163 |
"email": "[email protected]" |
| 164 |
} |
| 165 |
], |
| 166 |
"_npmUser": { |
| 167 |
"name": "isaacs", |
| 168 |
"email": "[email protected]" |
| 169 |
}, |
| 170 |
"directories": {}, |
| 171 |
"_npmOperationalInternal": { |
| 172 |
"host": "s3://npm-registry-packages", |
| 173 |
"tmp": "tmp/minipass-collect_1.0.2_1569877028029_0.9003110762470692" |
| 174 |
}, |
| 175 |
"_hasShrinkwrap": false |
| 176 |
} |
| 177 |
}, |
| 178 |
"time": { |
| 179 |
"created": "2019-09-15T22:24:54.265Z", |
| 180 |
"1.0.0": "2019-09-15T22:24:54.411Z", |
| 181 |
"modified": "2019-09-30T20:57:10.733Z", |
| 182 |
"1.0.1": "2019-09-15T23:02:38.518Z", |
| 183 |
"1.0.2": "2019-09-30T20:57:08.179Z" |
| 184 |
}, |
| 185 |
"maintainers": [ |
| 186 |
{ |
| 187 |
"name": "isaacs", |
| 188 |
"email": "[email protected]" |
| 189 |
} |
| 190 |
], |
| 191 |
"description": "A Minipass stream that collects all the data into a single chunk", |
| 192 |
"author": { |
| 193 |
"name": "Isaac Z. Schlueter", |
| 194 |
"email": "[email protected]", |
| 195 |
"url": "https://izs.me" |
| 196 |
}, |
| 197 |
"license": "ISC", |
| 198 |
"readme": "# minipass-collect\n\nA Minipass stream that collects all the data into a single chunk\n\nNote that this buffers ALL data written to it, so it's only good for\nsituations where you are sure the entire stream fits in memory.\n\nNote: this is primarily useful for the `Collect.PassThrough` class, since\nMinipass streams already have a `.collect()` method which returns a promise\nthat resolves to the array of chunks, and a `.concat()` method that returns\nthe data concatenated into a single Buffer or String.\n\n## USAGE\n\n```js\nconst Collect = require('minipass-collect')\n\nconst collector = new Collect()\ncollector.on('data', allTheData => {\n console.log('all the data!', allTheData)\n})\n\nsomeSourceOfData.pipe(collector)\n\n// note that you can also simply do:\nsomeSourceOfData.pipe(new Minipass()).concat().then(data => ...)\n// or even, if someSourceOfData is a Minipass:\nsomeSourceOfData.concat().then(data => ...)\n// but you might prefer to have it stream-shaped rather than\n// Promise-shaped in some scenarios.\n```\n\nIf you want to collect the data, but _also_ act as a passthrough stream,\nthen use `Collect.PassThrough` instead (for example to memoize streaming\nresponses), and listen on the `collect` event.\n\n```js\nconst Collect = require('minipass-collect')\n\nconst collector = new Collect.PassThrough()\ncollector.on('collect', allTheData => {\n console.log('all the data!', allTheData)\n})\n\nsomeSourceOfData.pipe(collector).pipe(someOtherStream)\n```\n\nAll [minipass options](http://npm.im/minipass) are supported.\n", |
| 199 |
"readmeFilename": "README.md" |
| 200 |
} |