GT2/GT2-Android/node_modules/merge-stream/package.json

107 lines
4.0 KiB
JSON
Raw Normal View History

{
"_args": [
[
{
"raw": "merge-stream@^1.0.1",
"scope": null,
"escapedName": "merge-stream",
"name": "merge-stream",
"rawSpec": "^1.0.1",
"spec": ">=1.0.1 <2.0.0",
"type": "range"
},
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/metro"
]
],
"_from": "merge-stream@>=1.0.1 <2.0.0",
"_id": "merge-stream@1.0.1",
"_inCache": true,
"_location": "/merge-stream",
"_nodeVersion": "7.1.0",
"_npmOperationalInternal": {
"host": "packages-18-east.internal.npmjs.com",
"tmp": "tmp/merge-stream-1.0.1.tgz_1480049995559_0.005447877338156104"
},
"_npmUser": {
"name": "shinnn",
"email": "snnskwtnb@gmail.com"
},
"_npmVersion": "4.0.3",
"_phantomChildren": {
"core-util-is": "1.0.2",
"inherits": "2.0.3",
"process-nextick-args": "2.0.0",
"safe-buffer": "5.1.1",
"util-deprecate": "1.0.2"
},
"_requested": {
"raw": "merge-stream@^1.0.1",
"scope": null,
"escapedName": "merge-stream",
"name": "merge-stream",
"rawSpec": "^1.0.1",
"spec": ">=1.0.1 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/jest-runner/jest-worker",
"/jest-runtime/jest-worker",
"/jest-worker",
"/jest/jest-worker",
"/metro"
],
"_resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-1.0.1.tgz",
"_shasum": "4041202d508a342ba00174008df0c251b8c135e1",
"_shrinkwrap": null,
"_spec": "merge-stream@^1.0.1",
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/metro",
"author": {
"name": "Stephen Sugden",
"email": "me@stephensugden.com"
},
"bugs": {
"url": "https://github.com/grncdr/merge-stream/issues"
},
"dependencies": {
"readable-stream": "^2.0.1"
},
"description": "Create a stream that emits events from multiple other streams",
"devDependencies": {
"from2": "^2.0.3",
"istanbul": "^0.3.2"
},
"directories": {},
"dist": {
"shasum": "4041202d508a342ba00174008df0c251b8c135e1",
"tarball": "https://registry.npmjs.org/merge-stream/-/merge-stream-1.0.1.tgz"
},
"files": [
"index.js"
],
"gitHead": "1b33da64b219dcc8bf33645953c32a6fd9e3b36d",
"homepage": "https://github.com/grncdr/merge-stream#readme",
"license": "MIT",
"maintainers": [
{
"name": "grncdr",
"email": "glurgle@gmail.com"
},
{
"name": "shinnn",
"email": "snnskwtnb@gmail.com"
}
],
"name": "merge-stream",
"optionalDependencies": {},
"readme": "# merge-stream\n\nMerge (interleave) a bunch of streams.\n\n[![build status](https://secure.travis-ci.org/grncdr/merge-stream.svg?branch=master)](http://travis-ci.org/grncdr/merge-stream)\n\n## Synopsis\n\n```javascript\nvar stream1 = new Stream();\nvar stream2 = new Stream();\n\nvar merged = mergeStream(stream1, stream2);\n\nvar stream3 = new Stream();\nmerged.add(stream3);\nmerged.isEmpty();\n//=> false\n```\n\n## Description\n\nThis is adapted from [event-stream](https://github.com/dominictarr/event-stream) separated into a new module, using Streams3.\n\n## API\n\n### `mergeStream`\n\nType: `function`\n\nMerges an arbitrary number of streams. Returns a merged stream.\n\n#### `merged.add`\n\nA method to dynamically add more sources to the stream. The argument supplied to `add` can be either a source or an array of sources.\n\n#### `merged.isEmpty`\n\nA method that tells you if the merged stream is empty.\n\nWhen a stream is \"empty\" (aka. no sources were added), it could not be returned to a gulp task.\n\nSo, we could do something like this:\n\n```js\nstream = require('merge-stream')();\n// Something like a loop to add some streams to the merge stream\n// stream.add(streamA);\n// stream.add(streamB);\nreturn stream.isEmpty() ? null : stream;\n```\n\n## License\n\nMIT\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/grncdr/merge-stream.git"
},
"scripts": {
"test": "istanbul cover test.js && istanbul check-cover --statements 100 --branches 100"
},
"version": "1.0.1"
}