--
This commit is contained in:
parent
24f3d27984
commit
6b60015c02
9588 changed files with 1149251 additions and 49 deletions
90
node_modules/from/package.json
generated
vendored
Normal file
90
node_modules/from/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
{
|
||||
"_args": [
|
||||
[
|
||||
{
|
||||
"raw": "from@~0",
|
||||
"scope": null,
|
||||
"escapedName": "from",
|
||||
"name": "from",
|
||||
"rawSpec": "~0",
|
||||
"spec": ">=0.0.0 <1.0.0",
|
||||
"type": "range"
|
||||
},
|
||||
"/Users/jose/Documents/GitHub/Mods/node_modules/event-stream"
|
||||
]
|
||||
],
|
||||
"_from": "from@>=0.0.0 <1.0.0",
|
||||
"_id": "from@0.1.3",
|
||||
"_inCache": true,
|
||||
"_location": "/from",
|
||||
"_npmUser": {
|
||||
"name": "dominictarr",
|
||||
"email": "dominic.tarr@gmail.com"
|
||||
},
|
||||
"_npmVersion": "1.2.3",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"raw": "from@~0",
|
||||
"scope": null,
|
||||
"escapedName": "from",
|
||||
"name": "from",
|
||||
"rawSpec": "~0",
|
||||
"spec": ">=0.0.0 <1.0.0",
|
||||
"type": "range"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/event-stream"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/from/-/from-0.1.3.tgz",
|
||||
"_shasum": "ef63ac2062ac32acf7862e0d40b44b896f22f3bc",
|
||||
"_shrinkwrap": null,
|
||||
"_spec": "from@~0",
|
||||
"_where": "/Users/jose/Documents/GitHub/Mods/node_modules/event-stream",
|
||||
"author": {
|
||||
"name": "Dominic Tarr",
|
||||
"email": "dominic.tarr@gmail.com",
|
||||
"url": "dominictarr.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/dominictarr/from/issues"
|
||||
},
|
||||
"dependencies": {},
|
||||
"description": "Easy way to make a Readable Stream",
|
||||
"devDependencies": {
|
||||
"assertions": "~2.3.0",
|
||||
"asynct": "1",
|
||||
"stream-spec": "0"
|
||||
},
|
||||
"directories": {},
|
||||
"dist": {
|
||||
"shasum": "ef63ac2062ac32acf7862e0d40b44b896f22f3bc",
|
||||
"tarball": "https://registry.npmjs.org/from/-/from-0.1.3.tgz"
|
||||
},
|
||||
"homepage": "https://github.com/dominictarr/from#readme",
|
||||
"keywords": [
|
||||
"stream",
|
||||
"streams",
|
||||
"readable",
|
||||
"easy"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "dominictarr",
|
||||
"email": "dominic.tarr@gmail.com"
|
||||
}
|
||||
],
|
||||
"name": "from",
|
||||
"optionalDependencies": {},
|
||||
"readme": "# from\n\nAn easy way to create a `readable Stream`.\n\n## from(function getChunk(count, next))\n\nfrom takes a `getChunk` function and returns a stream. \n\n`getChunk` is called again and again, after each time the user calls `next()`, \nuntil the user emits `'end'`\n\nif `pause()` is called, the `getChunk` won't be called again untill `resume()` is called.\n\n\n```js\nvar from = require('from')\n\nvar stream = \n from(function getChunk(count, next) {\n //do some sort of data\n this.emit('data', whatever)\n \n if(itsOver)\n this.emit('end')\n\n //ready to handle the next chunk\n next()\n //or, if it's sync:\n return true \n })\n```\n\n## from(array)\n\nfrom also takes an `Array` whose elements it emits one after another.\n\n## License\nMIT / Apache2\n",
|
||||
"readmeFilename": "readme.markdown",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/dominictarr/from.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "asynct test/*.js"
|
||||
},
|
||||
"version": "0.1.3"
|
||||
}
|
||||
Loading…
Reference in a new issue