-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 loc) · 1.98 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
{
"name": "stream-combiner2",
"version": "1.0.2",
"homepage": "https://github.com/substack/stream-combiner2",
"repository": {
"type": "git",
"url": "git://github.com/substack/stream-combiner2.git"
},
"dependencies": {
"duplexer2": "~0.0.2",
"through2": "~0.5.1"
},
"devDependencies": {
"tape": "~2.3.0",
"through": "~2.3.4",
"event-stream": "~3.0.7"
},
"scripts": {
"test": "set -e; for t in test/*.js; do node $t; done"
},
"author": {
"name": "'Dominic Tarr'",
"email": "dominic.tarr@gmail.com",
"url": "http://dominictarr.com"
},
"license": "MIT",
"readme": "# stream-combiner2\n\nThis is a sequel to\n[stream-combiner](https://npmjs.org/package/stream-combiner)\nfor streams2.\n\n``` js\nvar combine = require('stream-combiner2')\n```\n\n## Combine (stream1,...,streamN)\n\nTurn a pipeline into a single stream. `Combine` returns a stream that writes to the first stream\nand reads from the last stream. \n\nStreams1 streams are automatically upgraded to be streams2 streams.\n\nListening for 'error' will recieve errors from all streams inside the pipe.\n\n```js\nvar Combine = require('stream-combiner')\nvar es = require('event-stream')\n\nCombine( // connect streams together with `pipe`\n process.openStdin(), // open stdin\n es.split(), // split stream to break on newlines\n es.map(function (data, callback) { // turn this async function into a stream\n var repr = inspect(JSON.parse(data)) // render it nicely\n callback(null, repr)\n }),\n process.stdout // pipe it to stdout !\n)\n```\n\n## License\n\nMIT\n",
"readmeFilename": "README.md",
"description": "This is a sequel to [stream-combiner](https://npmjs.org/package/stream-combiner) for streams2.",
"bugs": {
"url": "https://github.com/substack/stream-combiner2/issues"
},
"_id": "stream-combiner2@1.0.2",
"_from": "stream-combiner2@~1.0.0"
}