{"name":"unzip-response","version":"1.0.2","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":">=0.10"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["http","unzip","zlib","gzip","deflate","incoming","message","response","stream"],"devDependencies":{"ava":"^0.16.0","get-stream":"^2.3.0","pify":"^2.3.0","pinkie-promise":"^2.0.1","rfpify":"^1.0.0","xo":"^0.16.0"},"xo":{"esnext":false},"gitHead":"da2d1afca2624505811a58da083c845ebdde2b2f","bugs":{"url":"https://github.com/sindresorhus/unzip-response/issues"},"homepage":"https://github.com/sindresorhus/unzip-response#readme","_id":"unzip-response@1.0.2","_shasum":"b984f0877fc0a89c2c773cc1ef7b5b232b5b06fe","_from":".","_npmVersion":"2.15.1","_nodeVersion":"0.10.48","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"dist":{"shasum":"b984f0877fc0a89c2c773cc1ef7b5b232b5b06fe","tarball":"http://registry-npm.ywwl.com/unzip-response/download/unzip-response-1.0.2.tgz","integrity":"sha512-pwCcjjhEcpW45JZIySExBHYv5Y9EeL2OIGEfrSKp2dMUFGFv4CpvZkwJbVge8OvGH2BNNtJBx67DuKuJhf+N5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHdHuJtiaKbsf622QnSG/3GD95nWZPaSbfv/Oc4qY1UoAiEAr+Nfj7rYd4NQondADvJ4uTMhw6spV2Mtx0GIMTSji3o="}],"size":1933,"noattachment":false,"key":"/unzip-response/-/unzip-response-1.0.2.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/unzip-response-1.0.2.tgz_1477988883900_0.8392405717168003"},"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":1477988884401,"_cnpm_publish_time":1477988884401,"dist-tags":{"1.x-branch":"1.0.2","latest":"3.0.0"}}