forked from panaverse/learn-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
32 lines (32 loc) · 2.69 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"name": "stream-consume",
"version": "0.1.0",
"description": "Consume a stream to ensure it keeps flowing",
"main": "index.js",
"scripts": {
"test": "mocha"
},
"repository": {
"type": "git",
"url": "git+https://github.com/aroneous/stream-consume.git"
},
"author": {
"name": "Aron Nopanen"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/aroneous/stream-consume/issues"
},
"homepage": "https://github.com/aroneous/stream-consume",
"devDependencies": {
"mocha": "^1.20.1",
"should": "^4.0.4",
"through2": "^0.5.1"
},
"readme": "# stream-consume\n\nA node module ensures a Readable stream continues flowing if it's not piped to\nanother destination.\n\n\tnpm install stream-consume\n\n## Usage\n\nSimply pass a stream to `stream-consume`.\nBoth legacy streams and streams2 are supported.\n\n``` js\nvar consume = require('stream-consume');\n\nconsume(readableStream);\n```\n\n## Details\n\nOnly Readable streams are processed (as determined by presence of `readable`\nproperty and a `resume` property that is a function). If called with anything\nelse, it's a NOP.\n\nFor a streams2 stream (as determined by presence of a `_readableState`\nproperty), nothing is done if the stream has already been piped to at least\none other destination.\n\n`resume()` is used to cause the stream to continue flowing.\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Aron Nopanen\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n",
"readmeFilename": "README.md",
"_id": "stream-consume@0.1.0",
"_shasum": "a41ead1a6d6081ceb79f65b061901b6d8f3d1d0f",
"_resolved": "https://registry.npmjs.org/stream-consume/-/stream-consume-0.1.0.tgz",
"_from": "stream-consume@>=0.1.0 <0.2.0"
}