{"name":"readable","version":"1.1.3","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.1.3","_shasum":"1f049d6d439a2e936591e54fc2738cc3373f31d1","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"nathan7","email":"nathan@nathan7.eu"},"maintainers":[{"name":"nathan7","email":"nathan@nathan7.eu"}],"dist":{"shasum":"1f049d6d439a2e936591e54fc2738cc3373f31d1","tarball":"http://registry-npm.ywwl.com/readable/download/readable-1.1.3.tgz","integrity":"sha512-jsSMijs9ZG6tGhYjo9J637WB3YzhBw32CnHdf59m4x0IFJdxLsFtR+lGaG6zoJXj2xlXz8GkOyG5Bot6QLJO6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC1W2uK7oPbDU1ue8svVD6Pbi9RzjB0zcEaukZMzNccOAiBRVGVZ/aSrsYsftRNIioGTFMU0OLHK20CxwNe8VvshjA=="}],"size":1576,"noattachment":false,"key":"/readable/-/readable-1.1.3.tgz"},"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":1402076991760,"_cnpm_publish_time":1402076991760,"dist-tags":{"latest":"1.1.3"}}