{"dist":{"shasum":"2914cb86d312ad195e4dcb0b2c65aea1acab4ef7","tarball":"https://registry.npmjs.org/pause-stream/-/pause-stream-0.0.8.tgz","integrity":"sha512-/IbH0YouC455nbKmOMbIVylnJbuYFpaUWVpyRno3GOz8EsyAgC8zNkMgQXxNYpgteLfMh7h0nfhwh8e9QchVtg==","signatures":[{"sig":"MEUCIQDBk5I0wkiulGxCwbad8p/1QFtf/+uWRRKMX+V60Iy4AQIgS1i9C0eAL8Bs2GQXFN08lQGceUTJL3aFA3QwjO4Llr0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","name":"pause-stream","_from":".","author":{"url":"dominictarr.com","name":"Dominic Tarr","email":"dominic.tarr@gmail.com"},"readme":"# PauseStream\n\nThis is a `Stream` that will strictly buffer when paused.\nConnect it to anything you need buffered.\n\n``` js\n  var ps = require('pause-stream')();\n\n  badlyBehavedStream.pipe(ps.pause())\n\n  aLittleLater(function (err, data) {\n    ps.pipe(createAnotherStream(data))\n    ps.resume()\n  })\n```\n\n`PauseStream` will buffer whenever paused.\nit will buffer when yau have called `pause` manually.\nbut also when it's downstream `dest.write()===false`.\nit will attempt to drain the buffer when you call resume\nor the downstream emits `'drain'`\n\n`PauseStream` is tested using [stream-spec](https://github.com/dominictarr/stream-spec)\nand [stream-tester](https://github.com/dominictarr/stream-tester)\n","license":["MIT","Apache2"],"scripts":{"test":"node test/index.js && node test/pause-end.js"},"_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"keywords":["stream","pipe","pause","drain","buffer"],"repository":{"url":"git://github.com/dominictarr/pause-stream.git","type":"git"},"_npmVersion":"1.2.3","description":"a ThroughStream that strictly buffers all readable events when paused.","directories":{"test":"test"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"dependencies":{"through":"~2.1"},"readmeFilename":"readme.markdown","devDependencies":{"stream-spec":"~0.2.0","stream-tester":"0.0.2"},"_id":"pause-stream@0.0.8","version":"0.0.8"}