UNPKG

layaair2-cmd

Version:

layaair version 2 toolkit

95 lines (94 loc) 3.72 kB
{ "_args": [ [ { "raw": "stream-combiner2@^1.1.1", "scope": null, "escapedName": "stream-combiner2", "name": "stream-combiner2", "rawSpec": "^1.1.1", "spec": ">=1.1.1 <2.0.0", "type": "range" }, "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\module-deps" ] ], "_from": "stream-combiner2@>=1.1.1 <2.0.0", "_id": "stream-combiner2@1.1.1", "_inCache": true, "_location": "/stream-combiner2", "_nodeVersion": "4.2.1", "_npmUser": { "name": "substack", "email": "substack@gmail.com" }, "_npmVersion": "3.3.2", "_phantomChildren": { "core-util-is": "1.0.2", "inherits": "2.0.3", "process-nextick-args": "2.0.0", "safe-buffer": "5.1.2", "util-deprecate": "1.0.2" }, "_requested": { "raw": "stream-combiner2@^1.1.1", "scope": null, "escapedName": "stream-combiner2", "name": "stream-combiner2", "rawSpec": "^1.1.1", "spec": ">=1.1.1 <2.0.0", "type": "range" }, "_requiredBy": [ "/module-deps" ], "_resolved": "https://registry.npmjs.org/stream-combiner2/-/stream-combiner2-1.1.1.tgz", "_shasum": "fb4d8a1420ea362764e21ad4780397bebcb41cbe", "_shrinkwrap": null, "_spec": "stream-combiner2@^1.1.1", "_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\module-deps", "author": { "name": "'Dominic Tarr'", "email": "dominic.tarr@gmail.com", "url": "http://dominictarr.com" }, "bugs": { "url": "https://github.com/substack/stream-combiner2/issues" }, "dependencies": { "duplexer2": "~0.1.0", "readable-stream": "^2.0.2" }, "description": "This is a sequel to [stream-combiner](https://npmjs.org/package/stream-combiner) for streams3.", "devDependencies": { "event-stream": "~3.0.7", "tape": "~2.3.0", "through2": "^2.0.0" }, "directories": {}, "dist": { "shasum": "fb4d8a1420ea362764e21ad4780397bebcb41cbe", "tarball": "https://registry.npmjs.org/stream-combiner2/-/stream-combiner2-1.1.1.tgz" }, "gitHead": "1943d22459c54b1f65753e08f0bfb2dfb95f114b", "homepage": "https://github.com/substack/stream-combiner2", "license": "MIT", "maintainers": [ { "name": "substack", "email": "mail@substack.net" } ], "name": "stream-combiner2", "optionalDependencies": {}, "readme": "# stream-combiner2\n\nThis is a sequel to\n[stream-combiner](https://npmjs.org/package/stream-combiner)\nfor streams3.\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 streams3 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", "repository": { "type": "git", "url": "git://github.com/substack/stream-combiner2.git" }, "scripts": { "test": "set -e; for t in test/*.js; do node $t; done" }, "version": "1.1.1" }