{"name":"unzip-response","version":"3.0.0","description":"Unzip a HTTP response if needed","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/unzip-response.git"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"},{"name":"floatdrop","email":"floatdrop@gmail.com"}],"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["http","unzip","zlib","gzip","deflate","incoming","message","response","stream"],"devDependencies":{"ava":"*","get-stream":"^2.3.0","pify":"^2.3.0","rfpify":"^1.0.0","xo":"*"},"xo":{"esnext":true},"gitHead":"1a840473e3d337267938bb1a851e86fe16ec1af7","bugs":{"url":"https://github.com/sindresorhus/unzip-response/issues"},"homepage":"https://github.com/sindresorhus/unzip-response#readme","_id":"unzip-response@3.0.0","_shasum":"ccf71412ae34640e4272115cdd46d503be329f0d","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ccf71412ae34640e4272115cdd46d503be329f0d","tarball":"http://registry-npm.ywwl.com/unzip-response/download/unzip-response-3.0.0.tgz","integrity":"sha512-KC4aYjn/hU/UO3NKyFHv3lxCep+DEl9VlA1koOtwuaz2mIOdB9CpS34ymY8QWxfRrvTwgDuOiiQfNvzggwftxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSVUwMDznsNh3gYYlkHmdTj8MP6DN/EzMOJu3bl+zPFgIhAKWza7Xv7akI0sit2M+61qr5/V3vOr6IEVIkgmxnDeoD"}],"size":1905,"noattachment":false,"key":"/unzip-response/-/unzip-response-3.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/unzip-response-3.0.0.tgz_1494063442971_0.1765977772884071"},"deprecated":"Renamed to decompress-response","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":1494063445309,"_cnpm_publish_time":1494063445309,"dist-tags":{"1.x-branch":"1.0.2","latest":"3.0.0"}}