{"dist":{"shasum":"dab1f8a574d7c01d169ff5ac51ce4a6edca46c94","tarball":"https://registry.npmjs.org/inflate-until/-/inflate-until-0.0.2.tgz","integrity":"sha512-Qv+DJeB57LnhmMHLmIR05JUJmT3JoxTOa2LYjX2Z+08Ok1PtHi/0BKjFwhcT5wgDPCS1IqrEAtZ8yNSrx41gmg==","signatures":[{"sig":"MEYCIQDIc82W/4EcjYPxYD9Z6rqKzK3XZqwy3UPlkXmDxPr4JwIhAOwadNPLkukVA4owjREpdbfijaXK8+LZtSJFWB+I74Tb","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.2","version":"0.0.2"}