{"dist":{"shasum":"b899025452bddc492c7db2c8335f5ee1cb930d00","tarball":"https://registry.npmjs.org/inflate-until/-/inflate-until-0.0.6.tgz","integrity":"sha512-UthdRPt6qYqYm2d8nRCNxTAcPyqJl4plWC1K7YHq57bCpA+RiABzWTscT51+ZMvCSlM0YIE4XT3PIyKOiERcFA==","signatures":[{"sig":"MEQCIFMsRBOWHwcIaKyJwpHBKglxqNoytK88d+3V05hpEPGsAiAjic7EbnykMy2tcCFUc62sdV7Acd3vn6xlhVM6EKaCgQ==","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)\n\ninflateUntil.write(buf, function(info) {\n  if(info) {\n\n  }\n})\n\n```\n\n## API\n\n#### inflateUntil(size) -> inflate\n\ncreate an inflateUntil function.\n\n#### inflate(buf, ready) -> undefined\n\nadd another `buf` to the available bytes. calls `ready`\nwhen finished -- if there was enough data to determine whether\nor not we've reached `size` + the adler checksum, `ready`\nwill receive an `info` argument:\n\n```javascript\n{ compressed: Number    // size of compressed bytes written\n, rest: Buffer          // Buffer representing unused bytes\n, data: Buffer }        // uncompressed data\n```\n\n## License\n\nMIT\n","browser":{"./zlib.js":"./zlib-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.6","version":"0.0.6"}