{"dist":{"shasum":"d4699044c7bcf4d1194fa2ec8872fa7b60ec89b5","tarball":"https://registry.npmjs.org/inflate-until/-/inflate-until-0.0.3.tgz","integrity":"sha512-v5PE66SB5ed0fpCnUDXKLJmm/Drk/1KZP/zSZs20mfEJNTeKGgcnCuo9PqMvHWK+ilXG9HuI7oxUGI923efKdw==","signatures":[{"sig":"MEUCIGpGn6LOtbxvjql54eMO63+WduKJVoZ1gM0dwHOMPIWlAiEA8E0eJ3aa+1AcNPimXpcg5TiQJ/0mH3kfC98G4pp0bW4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","name":"inflate-until","_from":".","author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"readme":"# inflate-until\n\na module for that really odd case where you know\nhow big the thing you're deflating is, but you want\nto deflate it *and* know how big the compressed data\nwas.\n\n**NB**: this is slow.\n\n```javascript\n\nvar stream = inflateUntil(256, function(err, info) {\n  stream.rest // the remaining contents of the \n              // last buffer\n\n  info.compressed // the compressed size\n  info.data // the inflated data\n})\n\ninflateUntil.write(buf)\ninflateUntil.write(buf)\ninflateUntil.write(buf)\ninflateUntil.write(buf)\n\n```\n\n## API\n\n#### inflateUntil(size[, ready(err, info)]) -> stream\n\ncreate an inflateUntil stream.\n\n#### stream.rest\n\nthe remaining bytes of the last buffer written.\n\n## License\n\nMIT\n","browser":{"./index.js":"./browser.js"},"gitHead":"23d0fd17a3656f4584893877b31b37e957fb8567","license":"MIT","scripts":{"test":"node test.js"},"_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"keywords":["inflate","until","stream"],"testling":{"files":"test.js","browsers":["ie/9..latest","firefox/10..latest","chrome/20..latest","safari/latest","iphone/6","ipad/6"]},"repository":{"url":"git://github.com/chrisdickinson/inflate-until.git","type":"git"},"_npmVersion":"1.2.14","description":"take buffer chunks until the inflated result is === size","maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"}],"dependencies":{"through":"~2.2.7"},"readmeFilename":"README.md","devDependencies":{"tape":"~0.3.1"},"_id":"inflate-until@0.0.3","version":"0.0.3"}