-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 3.29 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"_args": [
[
{
"raw": "pause-stream@0.0.11",
"scope": null,
"escapedName": "pause-stream",
"name": "pause-stream",
"rawSpec": "0.0.11",
"spec": "0.0.11",
"type": "version"
},
"C:\\Users\\Vo Thanh Dat\\Desktop\\backend\\Sem3---Sale-Book-Online\\FrontEnd\\node_modules\\event-stream"
]
],
"_from": "pause-stream@0.0.11",
"_id": "pause-stream@0.0.11",
"_inCache": true,
"_location": "/pause-stream",
"_npmUser": {
"name": "dominictarr",
"email": "dominic.tarr@gmail.com"
},
"_npmVersion": "1.3.6",
"_phantomChildren": {},
"_requested": {
"raw": "pause-stream@0.0.11",
"scope": null,
"escapedName": "pause-stream",
"name": "pause-stream",
"rawSpec": "0.0.11",
"spec": "0.0.11",
"type": "version"
},
"_requiredBy": [
"/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": "C:\\Users\\Vo Thanh Dat\\Desktop\\backend\\Sem3---Sale-Book-Online\\FrontEnd\\node_modules\\event-stream",
"author": {
"name": "Dominic Tarr",
"email": "dominic.tarr@gmail.com",
"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": "https://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": [
{
"name": "dominictarr",
"email": "dominic.tarr@gmail.com"
}
],
"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"
}