@zkochan/pnpm
Version:
Fast, disk space efficient package manager
106 lines (105 loc) • 4.71 kB
JSON
{
"_args": [
[
{
"raw": "stream-each@^1.1.0",
"scope": null,
"escapedName": "stream-each",
"name": "stream-each",
"rawSpec": "^1.1.0",
"spec": ">=1.1.0 <2.0.0",
"type": "range"
},
"/home/zkochan/src/pnpm/packages/pnpm/node_modules/mississippi"
]
],
"_from": "stream-each@>=1.1.0 <2.0.0",
"_id": "stream-each@1.2.3",
"_inCache": true,
"_location": "/stream-each",
"_nodeVersion": "10.7.0",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/stream-each_1.2.3_1532973544684_0.4037271324645715"
},
"_npmUser": {
"name": "mafintosh",
"email": "mathiasbuus@gmail.com"
},
"_npmVersion": "6.1.0",
"_phantomChildren": {},
"_requested": {
"raw": "stream-each@^1.1.0",
"scope": null,
"escapedName": "stream-each",
"name": "stream-each",
"rawSpec": "^1.1.0",
"spec": ">=1.1.0 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/mississippi"
],
"_resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz",
"_shasum": "ebe27a0c389b04fbcc233642952e10731afa9bae",
"_shrinkwrap": null,
"_spec": "stream-each@^1.1.0",
"_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/mississippi",
"author": {
"name": "Mathias Buus",
"url": "@mafintosh"
},
"bugs": {
"url": "https://github.com/mafintosh/stream-each/issues"
},
"dependencies": {
"end-of-stream": "^1.1.0",
"stream-shift": "^1.0.0"
},
"description": "Iterate all the data in a stream",
"devDependencies": {
"ndjson": "^1.5.0",
"standard": "^5.3.1",
"tape": "^4.2.1",
"through2": "^2.0.0"
},
"directories": {},
"dist": {
"integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==",
"shasum": "ebe27a0c389b04fbcc233642952e10731afa9bae",
"tarball": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz",
"fileCount": 7,
"unpackedSize": 6744,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbX1HoCRA9TVsSAnZWagAATYYP/iS0a/FmTrGwQ7/RkbGQ\nadDMVU7EsiLkaI7uQjshLfCHLTttcoTL0E2OTjNMHyPAcMN8w5UTr4zMXw9V\nkNXnFepcIU0kMtf2HAEecyzQREGEVBEtsfpxLI3Ct2OToXkyOpH6/iu10NyT\nEuF/0kMchPHZLPjSogSExDcSErXS14mi2pnkmh+cADDe+Mw9Ck8+Kr7AMIwR\nga3nTHfrcRJ1TkSQ6bBmXGFHulRa5YOnt6YpicunCXLFbjIuj2kaqYWtYPSH\nlGWKyq3ouE/S+6101yDi5vrZL1xudAiXa1z1sMKTPX+Cfu/C8kk8noKBMScH\niTbruY8KtsKzcTROE5hZSN19OiobQChk5tH9z5VitZKugrGFZDsJ1eL+6l+6\n2pq0+vNgeVxFmHf0CyzmyDxvMzq+GZsF0Y8rPp1WH4nJ5nlu/B+DCBO2yOzJ\nJWZXWfmIzTTfVdPemc5ksvm/MXBg3KOHrlizGnjUC3I1yj1oiOsabgXSqf0B\nqlaVdCc6a/dOLTWWtns/DBaWCsmykRnfWoSHExg4U9bpkdJrvf+i0k5quRAo\nsEEbwqOn6jjfIlnMhNIsTg0EkPW/5MUAJ3xcfjxjKW/tlW4n4+NifFmxdtno\nPGxAB3EmVeRPq6KcSoJfMMfkbg7hcPawFVjSJFn7WVDAXPwIYnHVn/Mdq6xw\n1Kbh\r\n=OLss\r\n-----END PGP SIGNATURE-----\r\n"
},
"gitHead": "ccc17f5e2c444cb9f0befee545f326eb2ad69b5a",
"homepage": "https://github.com/mafintosh/stream-each",
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "karissa",
"email": "krmckelv@gmail.com"
},
{
"name": "mafintosh",
"email": "mathiasbuus@gmail.com"
},
{
"name": "maxogden",
"email": "max@maxogden.com"
}
],
"name": "stream-each",
"optionalDependencies": {},
"readme": "# stream-each\n\nIterate all the data in a stream\n\n```\nnpm install stream-each\n```\n\n[](http://travis-ci.org/mafintosh/stream-each)\n\n## Usage\n\n``` js\nvar each = require('stream-each')\n\neach(stream, function (data, next) {\n console.log('data from stream', data)\n // when ready to consume next chunk\n next()\n}, function (err) {\n console.log('no more data')\n})\n```\n\n## API\n\n#### `each(stream, iterator, cb)`\n\nIterate the data in the stream by calling the iterator function with `(data, next)`\nwhere data is a data chunk and next is a callback. Call next when you are ready to\nconsume the next chunk. Optionally you can call next with an error to destroy the stream\n\nWhen the stream ends/errors the callback is called if provided\n\n## License\n\nMIT\n\n## Related\n\n`stream-each` is part of the [mississippi stream utility collection](https://github.com/maxogden/mississippi) which includes more useful stream modules similar to this one.\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/mafintosh/stream-each.git"
},
"scripts": {
"test": "standard && tape test.js"
},
"version": "1.2.3"
}