{
  "name": "map-stream",
  "version": "0.1.0",
  "description": "construct pipes of streams of events",
  "homepage": "http://github.com/dominictarr/map-stream",
  "repository": {
    "type": "git",
    "url": "git://github.com/dominictarr/map-stream.git"
  },
  "dependencies": {},
  "devDependencies": {
    "asynct": "*",
    "it-is": "1",
    "ubelt": "~2.9",
    "stream-spec": "~0.2",
    "event-stream": "~2.1",
    "from": "0.0.2"
  },
  "scripts": {
    "test": "asynct test/"
  },
  "author": {
    "name": "Dominic Tarr",
    "email": "dominic.tarr@gmail.com",
    "url": "http://dominictarr.com"
  },
  "readme": "# MapStream\n\nRefactored out of [event-stream](https://github.com/dominictarr/event-stream)\n\n##map (asyncFunction[, options])\n\nCreate a through stream from an asyncronous function.  \n\n``` js\nvar map = require('map-stream')\n\nmap(function (data, callback) {\n  //transform data\n  // ...\n  callback(null, data)\n})\n\n```\n\nEach map MUST call the callback. It may callback with data, with an error or with no arguments, \n\n  * `callback()` drop this data.  \n    this makes the map work like `filter`,  \n    note:`callback(null,null)` is not the same, and will emit `null`\n\n  * `callback(null, newData)` turn data into newData\n    \n  * `callback(error)` emit an error for this item.\n\n>Note: if a callback is not called, `map` will think that it is still being processed,   \n>every call must be answered or the stream will not know when to end.  \n>\n>Also, if the callback is called more than once, every call but the first will be ignored.\n\n##Options \n\n * `failures` - `boolean` continue mapping even if error occured. On error `map-stream` will emit `failure` event. (default: `false`)\n",
  "readmeFilename": "readme.markdown",
  "bugs": {
    "url": "https://github.com/dominictarr/map-stream/issues"
  },
  "_id": "map-stream@0.1.0",
  "dist": {
    "shasum": "e56aa94c4c8055a16404a0674b78f215f7c8e194",
    "tarball": "http://registry.npmjs.org/map-stream/-/map-stream-0.1.0.tgz"
  },
  "_from": "map-stream@~0.1",
  "_npmVersion": "1.3.21",
  "_npmUser": {
    "name": "dominictarr",
    "email": "dominic.tarr@gmail.com"
  },
  "maintainers": [
    {
      "name": "dominictarr",
      "email": "dominic.tarr@gmail.com"
    }
  ],
  "directories": {},
  "_shasum": "e56aa94c4c8055a16404a0674b78f215f7c8e194",
  "_resolved": "https://registry.npmjs.org/map-stream/-/map-stream-0.1.0.tgz"
}
