{
  "_args": [
    [
      "from@~0",
      "/home/nicolargo/Dropbox/dev/glances/glances/outputs/static/node_modules/event-stream"
    ]
  ],
  "_from": "from@>=0.0.0 <1.0.0",
  "_id": "from@0.1.3",
  "_inCache": true,
  "_installable": true,
  "_location": "/from",
  "_npmUser": {
    "email": "dominic.tarr@gmail.com",
    "name": "dominictarr"
  },
  "_npmVersion": "1.2.3",
  "_phantomChildren": {},
  "_requested": {
    "name": "from",
    "raw": "from@~0",
    "rawSpec": "~0",
    "scope": null,
    "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/nicolargo/Dropbox/dev/glances/glances/outputs/static/node_modules/event-stream",
  "author": {
    "email": "dominic.tarr@gmail.com",
    "name": "Dominic Tarr",
    "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": [
    "easy",
    "readable",
    "stream",
    "streams"
  ],
  "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"
}
