-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 3.57 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
{
"_args": [
[
{
"raw": "pump@https://registry.npmjs.org/pump/-/pump-1.0.2.tgz",
"scope": null,
"escapedName": "pump",
"name": "pump",
"rawSpec": "https://registry.npmjs.org/pump/-/pump-1.0.2.tgz",
"spec": "https://registry.npmjs.org/pump/-/pump-1.0.2.tgz",
"type": "remote"
},
"/Users/jennyphan/AngularToolingSamples/Angular4/aboutMe-app/functions/node_modules/firebase-admin"
]
],
"_from": "pump@https://registry.npmjs.org/pump/-/pump-1.0.2.tgz",
"_id": "pump@1.0.2",
"_inCache": true,
"_location": "/firebase-admin/pump",
"_phantomChildren": {},
"_requested": {
"raw": "pump@https://registry.npmjs.org/pump/-/pump-1.0.2.tgz",
"scope": null,
"escapedName": "pump",
"name": "pump",
"rawSpec": "https://registry.npmjs.org/pump/-/pump-1.0.2.tgz",
"spec": "https://registry.npmjs.org/pump/-/pump-1.0.2.tgz",
"type": "remote"
},
"_requiredBy": [
"/firebase-admin",
"/firebase-admin/pumpify"
],
"_resolved": "https://registry.npmjs.org/pump/-/pump-1.0.2.tgz",
"_shasum": "3b3ee6512f94f0e575538c17995f9f16990a5d51",
"_shrinkwrap": null,
"_spec": "pump@https://registry.npmjs.org/pump/-/pump-1.0.2.tgz",
"_where": "/Users/jennyphan/AngularToolingSamples/Angular4/aboutMe-app/functions/node_modules/firebase-admin",
"author": {
"name": "Mathias Buus Madsen",
"email": "mathiasbuus@gmail.com"
},
"browser": {
"fs": false
},
"bugs": {
"url": "https://github.com/mafintosh/pump/issues"
},
"dependencies": {
"end-of-stream": "^1.1.0",
"once": "^1.3.1"
},
"description": "pipe streams together and close all of them if one of them closes",
"devDependencies": {},
"homepage": "https://github.com/mafintosh/pump#readme",
"keywords": [
"streams",
"pipe",
"destroy",
"callback"
],
"license": "MIT",
"name": "pump",
"optionalDependencies": {},
"readme": "# pump\n\npump is a small node module that pipes streams together and destroys all of them if one of them closes.\n\n```\nnpm install pump\n```\n\n[![build status](http://img.shields.io/travis/mafintosh/pump.svg?style=flat)](http://travis-ci.org/mafintosh/pump)\n\n## What problem does it solve?\n\nWhen using standard `source.pipe(dest)` source will _not_ be destroyed if dest emits close or an error.\nYou are also not able to provide a callback to tell when then pipe has finished.\n\npump does these two things for you\n\n## Usage\n\nSimply pass the streams you want to pipe together to pump and add an optional callback\n\n``` js\nvar pump = require('pump')\nvar fs = require('fs')\n\nvar source = fs.createReadStream('/dev/random')\nvar dest = fs.createWriteStream('/dev/null')\n\npump(source, dest, function(err) {\n console.log('pipe finished', err)\n})\n\nsetTimeout(function() {\n dest.destroy() // when dest is closed pump will destroy source\n}, 1000)\n```\n\nYou can use pump to pipe more than two streams together as well\n\n``` js\nvar transform = someTransformStream()\n\npump(source, transform, anotherTransform, dest, function(err) {\n console.log('pipe finished', err)\n})\n```\n\nIf `source`, `transform`, `anotherTransform` or `dest` closes all of them will be destroyed.\n\n## License\n\nMIT\n\n## Related\n\n`pump` is part of the [mississippi stream utility collection](https://github.com/maxogden/mississippi) which includes more useful stream modules similar to this one.\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/mafintosh/pump.git"
},
"scripts": {
"test": "node test.js"
},
"version": "1.0.2"
}