92 lines
3.1 KiB
JSON
92 lines
3.1 KiB
JSON
![]() |
{
|
||
|
"_args": [
|
||
|
[
|
||
|
"pause-stream@0.0.11",
|
||
|
"/Users/sid/Desktop/code/RustyCode/node_modules/event-stream"
|
||
|
]
|
||
|
],
|
||
|
"_from": "pause-stream@0.0.11",
|
||
|
"_id": "pause-stream@0.0.11",
|
||
|
"_inCache": true,
|
||
|
"_installable": true,
|
||
|
"_location": "/pause-stream",
|
||
|
"_npmUser": {
|
||
|
"email": "dominic.tarr@gmail.com",
|
||
|
"name": "dominictarr"
|
||
|
},
|
||
|
"_npmVersion": "1.3.6",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"name": "pause-stream",
|
||
|
"raw": "pause-stream@0.0.11",
|
||
|
"rawSpec": "0.0.11",
|
||
|
"scope": null,
|
||
|
"spec": "0.0.11",
|
||
|
"type": "version"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/event-stream",
|
||
|
"/gulp-symdest/event-stream",
|
||
|
"/gulp-vinyl-zip/event-stream"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/pause-stream/-/pause-stream-0.0.11.tgz",
|
||
|
"_shasum": "fe5a34b0cbce12b5aa6a2b403ee2e73b602f1445",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "pause-stream@0.0.11",
|
||
|
"_where": "/Users/sid/Desktop/code/RustyCode/node_modules/event-stream",
|
||
|
"author": {
|
||
|
"email": "dominic.tarr@gmail.com",
|
||
|
"name": "Dominic Tarr",
|
||
|
"url": "dominictarr.com"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/dominictarr/pause-stream/issues"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"through": "~2.3"
|
||
|
},
|
||
|
"description": "a ThroughStream that strictly buffers all readable events when paused.",
|
||
|
"devDependencies": {
|
||
|
"stream-spec": "~0.2.0",
|
||
|
"stream-tester": "0.0.2"
|
||
|
},
|
||
|
"directories": {
|
||
|
"test": "test"
|
||
|
},
|
||
|
"dist": {
|
||
|
"shasum": "fe5a34b0cbce12b5aa6a2b403ee2e73b602f1445",
|
||
|
"tarball": "http://registry.npmjs.org/pause-stream/-/pause-stream-0.0.11.tgz"
|
||
|
},
|
||
|
"homepage": "https://github.com/dominictarr/pause-stream#readme",
|
||
|
"keywords": [
|
||
|
"stream",
|
||
|
"pipe",
|
||
|
"pause",
|
||
|
"drain",
|
||
|
"buffer"
|
||
|
],
|
||
|
"license": [
|
||
|
"MIT",
|
||
|
"Apache2"
|
||
|
],
|
||
|
"main": "index.js",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"email": "dominic.tarr@gmail.com",
|
||
|
"name": "dominictarr"
|
||
|
}
|
||
|
],
|
||
|
"name": "pause-stream",
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "# PauseStream\n\nThis is a `Stream` that will strictly buffer when paused.\nConnect it to anything you need buffered.\n\n``` js\n var ps = require('pause-stream')();\n\n badlyBehavedStream.pipe(ps.pause())\n\n aLittleLater(function (err, data) {\n ps.pipe(createAnotherStream(data))\n ps.resume()\n })\n```\n\n`PauseStream` will buffer whenever paused.\nit will buffer when yau have called `pause` manually.\nbut also when it's downstream `dest.write()===false`.\nit will attempt to drain the buffer when you call resume\nor the downstream emits `'drain'`\n\n`PauseStream` is tested using [stream-spec](https://github.com/dominictarr/stream-spec)\nand [stream-tester](https://github.com/dominictarr/stream-tester)\n\nThis is now the default case of \n[through](https://github.com/dominictarr/through)\n\nhttps://github.com/dominictarr/pause-stream/commit/4a6fe3dc2c11091b1efbfde912e0473719ed9cc0\n",
|
||
|
"readmeFilename": "readme.markdown",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git://github.com/dominictarr/pause-stream.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "node test/index.js && node test/pause-end.js"
|
||
|
},
|
||
|
"version": "0.0.11"
|
||
|
}
|