{"_id":"readable","_rev":"319318","name":"readable","description":"make buffers into something you can slice bytes off at will, for when a stream is too much.","dist-tags":{"latest":"1.1.3"},"maintainers":[{"name":"nathan7","email":"nathan@nathan7.eu"}],"time":{"modified":"2024-06-17T19:01:17.000Z","created":"2014-02-05T13:10:53.716Z","1.1.3":"2014-06-06T17:49:51.760Z","1.1.2":"2014-02-05T14:02:03.339Z","1.1.1":"2014-02-05T13:49:23.869Z","1.1.0":"2014-02-05T13:21:07.857Z","1.0.0":"2014-02-05T13:10:53.716Z"},"users":{},"author":{"name":"Nathan Zadoks"},"repository":{"type":"git","url":"git://github.com/nathan7/readable.git"},"versions":{"1.1.3":{"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":{},"publish_time":1402076991760,"_cnpm_publish_time":1402076991760},"1.1.2":{"name":"readable","version":"1.1.2","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.2","dist":{"shasum":"cf6f8f39f29fbe6cffcc63f51353172c0e240dc6","tarball":"http://registry-npm.ywwl.com/readable/download/readable-1.1.2.tgz","integrity":"sha512-IoXr2NrNad6X5CC7fSDJXHVaEqLp58d33NxHA0P5JD8LdC6JgmZkCQwCjK10T14FMptEiv4CmSouN1V9LjHvvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjzt6FLrA+bDEukPUPv0vXsTNoSma4BbgOgixR4KuaHAIhAMCjuewtthbIRbHjG5axqvZLT5d2/+rVrswYW8whEd27"}],"size":1553,"noattachment":false,"key":"/readable/-/readable-1.1.2.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"nathan7","email":"nathan@nathan7.eu"},"maintainers":[{"name":"nathan7","email":"nathan@nathan7.eu"}],"directories":{},"publish_time":1391608923339,"_cnpm_publish_time":1391608923339},"1.1.1":{"name":"readable","version":"1.1.1","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.1","dist":{"shasum":"b160b10961bca23747367f9ce86afce48851c3eb","tarball":"http://registry-npm.ywwl.com/readable/download/readable-1.1.1.tgz","integrity":"sha512-u+I2ekXXSf+ZowHkSAMO1rIHvTNqw3dVVprNoLKPPlcrLXJTktqJe1ViHmGoIOOJ69mLx+EMtXu37JZGTi8Zzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD69vr/W1/Ewkb8jueD23FdfOmkhmGTGUmxdNexn4gfDwIhALPnxEXwD3crOmmJe72wgFC3zqoTV9Bf1baqFM9hA5mH"}],"size":1546,"noattachment":false,"key":"/readable/-/readable-1.1.1.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"nathan7","email":"nathan@nathan7.eu"},"maintainers":[{"name":"nathan7","email":"nathan@nathan7.eu"}],"directories":{},"publish_time":1391608163869,"_cnpm_publish_time":1391608163869},"1.1.0":{"name":"readable","version":"1.1.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.1.0","dist":{"shasum":"ef4f052fa0274fc9a3fcbc8caf16f6bbf7e8972b","tarball":"http://registry-npm.ywwl.com/readable/download/readable-1.1.0.tgz","integrity":"sha512-P2ND5qxHG+YOHeqsQGdF45xUOHvQxshhq2/DqeafmxZYdZePvb8Vp1iPq3XoQ9C/GXoe3hke3xn4r463E+csVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6da8YrpymU1d08XxCovnEsnaPXOWYdwWlN1CXVhA+uAIhAIs/+cy8ou/mS2Bqs7xBXZqlDX25N8kVqSwwXTdnhd9q"}],"size":1488,"noattachment":false,"key":"/readable/-/readable-1.1.0.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"nathan7","email":"nathan@nathan7.eu"},"maintainers":[{"name":"nathan7","email":"nathan@nathan7.eu"}],"directories":{},"publish_time":1391606467857,"_cnpm_publish_time":1391606467857},"1.0.0":{"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":{},"publish_time":1391605853716,"_cnpm_publish_time":1391605853716}},"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","_attachments":{},"homepage":"https://github.com/nathan7/readable","bugs":{"url":"https://github.com/nathan7/readable/issues"},"license":"MIT"}