package.json
3.54 KB
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
98
99
100
101
102
103
104
105
{
"_args": [
[
{
"raw": "resumer@~0.0.0",
"scope": null,
"escapedName": "resumer",
"name": "resumer",
"rawSpec": "~0.0.0",
"spec": ">=0.0.0 <0.1.0",
"type": "range"
},
"/root/junhukang/node_modules/tape"
]
],
"_from": "resumer@>=0.0.0 <0.1.0",
"_id": "resumer@0.0.0",
"_inCache": true,
"_installable": true,
"_location": "/resumer",
"_npmUser": {
"name": "substack",
"email": "mail@substack.net"
},
"_npmVersion": "1.2.2",
"_phantomChildren": {},
"_requested": {
"raw": "resumer@~0.0.0",
"scope": null,
"escapedName": "resumer",
"name": "resumer",
"rawSpec": "~0.0.0",
"spec": ">=0.0.0 <0.1.0",
"type": "range"
},
"_requiredBy": [
"/tape"
],
"_resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz",
"_shasum": "f1e8f461e4064ba39e82af3cdc2a8c893d076759",
"_shrinkwrap": null,
"_spec": "resumer@~0.0.0",
"_where": "/root/junhukang/node_modules/tape",
"author": {
"name": "James Halliday",
"email": "mail@substack.net",
"url": "http://substack.net"
},
"bugs": {
"url": "https://github.com/substack/resumer/issues"
},
"dependencies": {
"through": "~2.3.4"
},
"description": "a through stream that starts paused and resumes on the next tick",
"devDependencies": {
"concat-stream": "~0.1.1",
"tap": "~0.4.0",
"tape": "~1.0.2"
},
"directories": {},
"dist": {
"shasum": "f1e8f461e4064ba39e82af3cdc2a8c893d076759",
"tarball": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz"
},
"homepage": "https://github.com/substack/resumer",
"keywords": [
"through",
"stream",
"pause",
"resume"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "substack",
"email": "mail@substack.net"
}
],
"name": "resumer",
"optionalDependencies": {},
"readme": "# resumer\n\nReturn a through stream that starts out paused and resumes on the next tick,\nunless somebody called `.pause()`.\n\nThis module has the same signature as\n[through](https://npmjs.com/package/through).\n\n[![browser support](https://ci.testling.com/substack/resumer.png)](http://ci.testling.com/substack/resumer)\n\n[![build status](https://secure.travis-ci.org/substack/resumer.png)](http://travis-ci.org/substack/resumer)\n\n# example\n\n``` js\nvar resumer = require('resumer');\nvar s = createStream();\ns.pipe(process.stdout);\n\nfunction createStream () {\n var stream = resumer();\n stream.queue('beep boop\\n');\n return stream;\n}\n```\n\n```\n$ node example/resume.js\nbeep boop\n```\n\n# methods\n\n``` js\nvar resumer = require('resumer')\n```\n\n## resumer(write, end)\n\nReturn a new through stream from `write` and `end`, which default to\npass-through `.queue()` functions if not specified.\n\nThe stream starts out paused and will be resumed on the next tick unless you\ncall `.pause()` first.\n\n`write` and `end` get passed directly through to\n[through](https://npmjs.com/package/through).\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install resumer\n```\n\n# license\n\nMIT\n",
"readmeFilename": "readme.markdown",
"repository": {
"type": "git",
"url": "git://github.com/substack/resumer.git"
},
"scripts": {
"test": "tap test/*.js"
},
"testling": {
"files": "test/*.js",
"browsers": [
"ie/6..latest",
"chrome/20..latest",
"firefox/10..latest",
"safari/latest",
"opera/11.0..latest",
"iphone/6",
"ipad/6"
]
},
"version": "0.0.0"
}