{
  "name": "through",
  "version": "0.0.4",
  "description": "simplified stream contruction",
  "main": "index.js",
  "scripts": {
    "test": "asynct test/*.js"
  },
  "devDependencies": {
    "stream-spec": "0",
    "assertions": "2",
    "asynct": "1"
  },
  "keywords": [
    "stream",
    "streams",
    "user-streams",
    "pipe"
  ],
  "author": {
    "name": "Dominic Tarr",
    "email": "dominic.tarr@gmail.com",
    "url": "dominictarr.com"
  },
  "license": "MIT",
  "readme": "#through\n\n[![build status](https://secure.travis-ci.org/dominictarr/through.png)](http://travis-ci.org/dominictarr/through)\n\nEasy way to create a `Stream` that is both `readable` and `writable`. Pass in optional `write` and `end` methods. `through` takes care of pause/resume logic.\nUse `this.pause()` and `this.resume()` to manage flow.\nCheck `this.paused` to see current flow state. (write always returns `!this.paused`)\n\nthis function is the basis for most of the syncronous streams in [event-stream](http://github.com/dominictarr/event-stream).\n\n``` js\nvar through = require('through')\n\nthrough(function write(data) {\n    this.emit('data', data)\n    //this.pause() \n  },\n  function end () { //optional\n    this.emit('end')\n  })\n\n```\n\n## License\n\nMIT / Apache2\n",
  "_id": "through@0.0.4",
  "_from": "through@0.0.4"
}
