{"name":"read-stream","version":"0.1.0","description":"Base class for readable streams","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/read-stream.git"},"main":"index","homepage":"https://github.com/Raynos/read-stream","contributors":[{"name":"Jake Verbaten"}],"bugs":{"url":"https://github.com/Raynos/read-stream/issues","email":"raynos2@gmail.com"},"dependencies":{"readable-stream":"0.0.1"},"devDependencies":{},"licenses":[{"type":"MIT","url":"http://github.com/Raynos/read-stream/raw/master/LICENSE"}],"scripts":{},"readme":"# read-stream\n\nBase class for readable streams\n\n## Example array\n\n```\nvar from = require(\"read-stream\")\n    , stream = from([\"one\", \"two\"])\n\nstream.pipe(process.stdout)\n```\n\n## Example function\n\n```\nvar from = require(\"read-stream\")\n    // buffer is a shared array amongst all read calls\n    , stream = from(function read(bytes, buffer) {\n        var count = buffer.count = ++buffer.count || 0\n\n        if (count < 5) {\n            return count.toString()    \n        } else {\n            this.emit(\"end\")\n        }\n    })\n\nstream.pipe(process.stdout)\n```\n\n## Installation\n\n`npm install read-stream`\n\n## Contributors\n\n - Raynos\n\n## MIT Licenced","_id":"read-stream@0.1.0","dist":{"shasum":"fc92e2aa9b6a4a62ed71cb02f9f21783a4747319","tarball":"http://registry-npm.ywwl.com/read-stream/download/read-stream-0.1.0.tgz","integrity":"sha512-5Lee5+5NGXUMQUqGvloQDzfM30AASMT68DQvjBbWi3yzVE++92/LZiywANf8a2m2pf5eeYNRTBJuHpD+ziWNBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKlvt2alumYNiQPS2Wieuie1Tpc+f0N8L9g/dybKACtgIgZSi4Y2cUwlEbS7XS/cmNeCMWYgVE9fEEFhAocm0DCc0="}],"size":2175,"noattachment":false,"key":"/read-stream/-/read-stream-0.1.0.tgz"},"_npmVersion":"1.1.49","_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"maintainers":[{"name":"raynos","email":"raynos2@gmail.com"}],"directories":{},"publish_time":1347172808429,"_cnpm_publish_time":1347172808429,"dist-tags":{"latest":"2.1.1"}}