-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 3.66 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
{
"_args": [
[
{
"raw": "end-of-stream@https://registry.npmjs.org/end-of-stream/-/end-of-stream-0.1.5.tgz",
"scope": null,
"escapedName": "end-of-stream",
"name": "end-of-stream",
"rawSpec": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-0.1.5.tgz",
"spec": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-0.1.5.tgz",
"type": "remote"
},
"/Users/jennyphan/AngularToolingSamples/Angular4/aboutMe-app/functions/node_modules/firebase-admin"
]
],
"_from": "end-of-stream@https://registry.npmjs.org/end-of-stream/-/end-of-stream-0.1.5.tgz",
"_id": "end-of-stream@0.1.5",
"_inCache": true,
"_location": "/firebase-admin/orchestrator/end-of-stream",
"_phantomChildren": {},
"_requested": {
"raw": "end-of-stream@https://registry.npmjs.org/end-of-stream/-/end-of-stream-0.1.5.tgz",
"scope": null,
"escapedName": "end-of-stream",
"name": "end-of-stream",
"rawSpec": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-0.1.5.tgz",
"spec": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-0.1.5.tgz",
"type": "remote"
},
"_requiredBy": [
"/firebase-admin/orchestrator"
],
"_resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-0.1.5.tgz",
"_shasum": "8e177206c3c80837d85632e8b9359dfe8b2f6eaf",
"_shrinkwrap": null,
"_spec": "end-of-stream@https://registry.npmjs.org/end-of-stream/-/end-of-stream-0.1.5.tgz",
"_where": "/Users/jennyphan/AngularToolingSamples/Angular4/aboutMe-app/functions/node_modules/firebase-admin",
"author": {
"name": "Mathias Buus",
"email": "mathiasbuus@gmail.com"
},
"bugs": {
"url": "https://github.com/mafintosh/end-of-stream/issues"
},
"dependencies": {
"once": "~1.3.0"
},
"description": "Call a callback when a readable/writable/duplex stream has completed or failed.",
"devDependencies": {},
"homepage": "https://github.com/mafintosh/end-of-stream",
"keywords": [
"stream",
"streams",
"callback",
"finish",
"close",
"end",
"wait"
],
"license": "MIT",
"main": "index.js",
"name": "end-of-stream",
"optionalDependencies": {},
"readme": "# end-of-stream\n\nA node module that calls a callback when a readable/writable/duplex stream has completed or failed.\n\n\tnpm install end-of-stream\n\n## Usage\n\nSimply pass a stream and a callback to the `eos`.\nBoth legacy streams and streams2 are supported.\n\n``` js\nvar eos = require('end-of-stream');\n\neos(readableStream, function(err) {\n\tif (err) return console.log('stream had an error or closed early');\n\tconsole.log('stream has ended');\n});\n\neos(writableStream, function(err) {\n\tif (err) return console.log('stream had an error or closed early');\n\tconsole.log('stream has finished');\n});\n\neos(duplexStream, function(err) {\n\tif (err) return console.log('stream had an error or closed early');\n\tconsole.log('stream has ended and finished');\n});\n\neos(duplexStream, {readable:false}, function(err) {\n\tif (err) return console.log('stream had an error or closed early');\n\tconsole.log('stream has ended but might still be writable');\n});\n\neos(duplexStream, {writable:false}, function(err) {\n\tif (err) return console.log('stream had an error or closed early');\n\tconsole.log('stream has ended but might still be readable');\n});\n\neos(readableStream, {error:false}, function(err) {\n\t// do not treat emit('error', err) as a end-of-stream\n});\n```\n\n## License\n\nMIT",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/mafintosh/end-of-stream.git"
},
"scripts": {
"test": "node test.js"
},
"version": "0.1.5"
}