{"name":"unzip-response","version":"1.0.0","description":"Unzip a HTTP response if needed","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/unzip-response"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test/test.js"},"files":["index.js"],"keywords":["http","unzip","zlib","gzip","deflate","incoming","message","response","stream"],"devDependencies":{"concat-stream":"^1.5.0","tape":"^4.0.0"},"gitHead":"7043fa2fbdc36d84a25dc398dc5f323b9f1747ce","bugs":{"url":"https://github.com/sindresorhus/unzip-response/issues"},"homepage":"https://github.com/sindresorhus/unzip-response","_id":"unzip-response@1.0.0","_shasum":"bfda54eeec658f00c2df4d4494b9dca0ca00f3e4","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"bfda54eeec658f00c2df4d4494b9dca0ca00f3e4","tarball":"http://registry-npm.ywwl.com/unzip-response/download/unzip-response-1.0.0.tgz","integrity":"sha512-LcCKuPJod2aEkaI5DfTd/zFwmbHtgzm4zFsSXapmxwsnukCAXr8I0ueP85nyNCNqHGJiGDrsUXsqh6uIbwgVGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDro/cX+nOwQDckoR7Ls4xaSl3zp7GcdbzAVkiulGFWqAIhAK3gPVOhV5UbwWR7VU8d96Yqfs/ieI+ZYUtda+EEXyKh"}],"size":1680,"noattachment":false,"key":"/unzip-response/-/unzip-response-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"readme":"# unzip-response [![Build Status](https://travis-ci.org/sindresorhus/unzip-response.svg?branch=master)](https://travis-ci.org/sindresorhus/unzip-response)\n\n> Unzip a HTTP response if needed\n\nUnzips the response from [`http.request`](https://nodejs.org/api/http.html#http_http_request_options_callback) if it's gzipped/deflated, otherwise just passes it through.\n\n\n## Install\n\n```\n$ npm install --save unzip-response\n```\n\n\n## Usage\n\n```js\nconst http = require('http');\nconst unzipResponse = require('unzip-response');\n\nhttp.get('http://sindresorhus.com', res => {\n\tres = unzipResponse(res);\n});\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","publish_time":1437237148789,"_cnpm_publish_time":1437237148789,"dist-tags":{"1.x-branch":"1.0.2","latest":"3.0.0"}}