| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- {
- "_args": [
- [
- {
- "raw": "from@~0",
- "scope": null,
- "escapedName": "from",
- "name": "from",
- "rawSpec": "~0",
- "spec": ">=0.0.0 <1.0.0",
- "type": "range"
- },
- "/home/king/Desktop/FINAL/AhMyth/app/node_modules/event-stream"
- ]
- ],
- "_from": "from@>=0.0.0 <1.0.0",
- "_id": "from@0.1.3",
- "_inCache": true,
- "_installable": 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": "/home/king/Desktop/FINAL/AhMyth/app/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"
- }
|