{"name":"readable","version":"1.0.0","description":"make buffers into something you can slice bytes off at will, for when a stream is too much.","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/nathan7/readable.git"},"keywords":["readable","lightweight","synchronous","stream"],"author":{"name":"Nathan Zadoks"},"license":"MIT","bugs":{"url":"https://github.com/nathan7/readable/issues"},"homepage":"https://github.com/nathan7/readable","devDependencies":{"mocha":"~1.17.1"},"_id":"readable@1.0.0","dist":{"shasum":"c921381b9b84f7b7e8103cfe66b024ada79ecd10","tarball":"http://registry-npm.ywwl.com/readable/download/readable-1.0.0.tgz","integrity":"sha512-YoIT6AWLD97xAlou1MOQorFNvioGA7418+H2bnusJKjOo70tbmZMv+9BWFmoCP+G7qwLD6EKkRlSgwPH5pX0HA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDku0lKtwgdxHS5MJqtmoy9wGfAaOP+4euLch0MXHNCwQIgUMra1dRpuSaNujKX9aIp835HHp4lp48apZmRoBuUFMU="}],"size":1428,"noattachment":false,"key":"/readable/-/readable-1.0.0.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"nathan7","email":"nathan@nathan7.eu"},"maintainers":[{"name":"nathan7","email":"nathan@nathan7.eu"}],"directories":{},"readme":"# readable\n\n  make buffers into something you can slice bytes off at will, for when a stream is too much.\n\n## Installation\n\n    npm install readable\n\n## API\n### Readable(buf) → function read(n)\n\n  Creates your readable. Will cast buf to a Buffer.\n\n### read(n) → Buffer\n\n  Slices the first `n` bytes off, and hand them to you.\n  If there aren't enough bytes left, we'll throw an error.\n\n### read(-1) → UInt8\n\n  Slices the first byte off, and hands it straight to you, no Buffer wrapping.\n  Sugar for `read(1)[0]`.\n\n### read.able\n\n  Amount of bytes left in the buffer.\n\n### read.push(chunk)\n\n  Push another chunk onto your buffer. Will cast chunk to a Buffer.\n\n","publish_time":1391605853716,"_cnpm_publish_time":1391605853716,"dist-tags":{"latest":"1.1.3"}}