{"_id":"decompress-response","_rev":"190629","name":"decompress-response","description":"Decompress a HTTP response if needed","dist-tags":{"latest":"8.1.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2023-03-20T07:22:03.000Z","created":"2017-05-06T10:13:52.908Z","8.1.0":"2023-02-23T16:52:48.681Z","8.0.0":"2021-10-27T10:54:40.261Z","7.0.0":"2021-02-12T10:20:36.454Z","6.0.0":"2020-05-15T03:08:28.784Z","5.0.0":"2019-11-01T13:53:39.809Z","4.2.1":"2019-08-12T21:44:03.388Z","4.2.0":"2019-03-31T11:47:34.531Z","4.1.0":"2019-03-11T06:55:19.918Z","4.0.0":"2019-01-20T10:51:35.377Z","3.3.0":"2017-06-02T19:43:48.054Z","3.2.0":"2017-05-07T10:10:14.249Z","3.1.0":"2017-05-06T10:13:52.908Z"},"users":{},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/decompress-response.git"},"versions":{"8.1.0":{"name":"decompress-response","version":"8.1.0","description":"Decompress a HTTP response if needed","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decompress-response.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["decompress","response","http","https","zlib","gzip","zip","deflate","unzip","ungzip","incoming","message","stream","compressed","brotli"],"dependencies":{"mimic-response":"^4.0.0"},"devDependencies":{"@types/node":"^16.11.6","ava":"^3.15.0","get-stream":"^6.0.1","pify":"^5.0.0","tsd":"^0.18.0","typescript":"^4.4.4","xo":"^0.45.0"},"types":"./index.d.ts","gitHead":"d935d94728eef4bdeacf41531f3a1cb923418afb","bugs":{"url":"https://github.com/sindresorhus/decompress-response/issues"},"homepage":"https://github.com/sindresorhus/decompress-response#readme","_id":"decompress-response@8.1.0","_nodeVersion":"16.16.0","_npmVersion":"9.2.0","dist":{"shasum":"1240582deb1406c17ffdec19833bcd29c96aed12","size":2555,"noattachment":false,"key":"/decompress-response/-/decompress-response-8.1.0.tgz","tarball":"http://name.csiicloud.com:7001/decompress-response/download/decompress-response-8.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompress-response_8.1.0_1677171168520_0.8370834099680775"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-23T16:52:48.681Z","publish_time":1677171168681,"_cnpm_publish_time":1677171168681},"8.0.0":{"name":"decompress-response","version":"8.0.0","description":"Decompress a HTTP response if needed","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decompress-response.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["decompress","response","http","https","zlib","gzip","zip","deflate","unzip","ungzip","incoming","message","stream","compressed","brotli"],"dependencies":{"mimic-response":"^4.0.0"},"devDependencies":{"@types/node":"^16.11.6","ava":"^3.15.0","get-stream":"^6.0.1","pify":"^5.0.0","tsd":"^0.18.0","typescript":"^4.4.4","xo":"^0.45.0"},"types":"./index.d.ts","gitHead":"c717c55f958ab492d13338cc999eb7268d82e1fb","bugs":{"url":"https://github.com/sindresorhus/decompress-response/issues"},"homepage":"https://github.com/sindresorhus/decompress-response#readme","_id":"decompress-response@8.0.0","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"bdce51511730bfe9cfac8e90443b0ae791f030e3","size":2442,"noattachment":false,"key":"/decompress-response/-/decompress-response-8.0.0.tgz","tarball":"http://name.csiicloud.com:7001/decompress-response/download/decompress-response-8.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompress-response_8.0.0_1635332080100_0.6514187464212695"},"_hasShrinkwrap":false,"publish_time":1635332080261,"_cnpm_publish_time":1635332080261,"_cnpmcore_publish_time":"2021-12-13T17:58:03.421Z"},"7.0.0":{"name":"decompress-response","version":"7.0.0","description":"Decompress a HTTP response if needed","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decompress-response.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["decompress","response","http","https","zlib","gzip","zip","deflate","unzip","ungzip","incoming","message","stream","compressed","brotli"],"dependencies":{"mimic-response":"^3.1.0"},"devDependencies":{"@types/node":"^14.0.1","ava":"^2.2.0","get-stream":"^5.0.0","pify":"^5.0.0","tsd":"^0.11.0","xo":"^0.30.0"},"xo":{"rules":{"@typescript-eslint/prefer-readonly-parameter-types":"off"}},"gitHead":"81d9895b918936d000e92891165d1c51c66b04e6","bugs":{"url":"https://github.com/sindresorhus/decompress-response/issues"},"homepage":"https://github.com/sindresorhus/decompress-response#readme","_id":"decompress-response@7.0.0","_nodeVersion":"10.22.1","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"dc42107cc29a258aa8983fddc81c92351810f6fb","size":2597,"noattachment":false,"key":"/decompress-response/-/decompress-response-7.0.0.tgz","tarball":"http://name.csiicloud.com:7001/decompress-response/download/decompress-response-7.0.0.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompress-response_7.0.0_1613125236324_0.8425377886190142"},"_hasShrinkwrap":false,"publish_time":1613125236454,"_cnpm_publish_time":1613125236454},"6.0.0":{"name":"decompress-response","version":"6.0.0","description":"Decompress a HTTP response if needed","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decompress-response.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["decompress","response","http","https","zlib","gzip","zip","deflate","unzip","ungzip","incoming","message","stream","compressed","brotli"],"dependencies":{"mimic-response":"^3.1.0"},"devDependencies":{"@types/node":"^14.0.1","ava":"^2.2.0","get-stream":"^5.0.0","pify":"^5.0.0","tsd":"^0.11.0","xo":"^0.30.0"},"xo":{"rules":{"@typescript-eslint/prefer-readonly-parameter-types":"off"}},"gitHead":"279d53e59fae44eec709e1891d9cf8c2d863f6f3","bugs":{"url":"https://github.com/sindresorhus/decompress-response/issues"},"homepage":"https://github.com/sindresorhus/decompress-response#readme","_id":"decompress-response@6.0.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ca387612ddb7e104bd16d85aab00d5ecf09c66fc","size":2552,"noattachment":false,"key":"/decompress-response/-/decompress-response-6.0.0.tgz","tarball":"http://name.csiicloud.com:7001/decompress-response/download/decompress-response-6.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompress-response_6.0.0_1589512108663_0.20171740850344988"},"_hasShrinkwrap":false,"publish_time":1589512108784,"_cnpm_publish_time":1589512108784},"5.0.0":{"name":"decompress-response","version":"5.0.0","description":"Decompress a HTTP response if needed","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decompress-response.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["decompress","response","http","https","zlib","gzip","zip","deflate","unzip","ungzip","incoming","message","stream","compressed","brotli"],"dependencies":{"mimic-response":"^2.0.0"},"devDependencies":{"@types/node":"^12.7.1","ava":"^2.2.0","get-stream":"^5.0.0","pify":"^4.0.1","tsd":"^0.10.0","xo":"^0.25.3"},"gitHead":"a31bde7a6bfe23345e41531ffa1a22cedbd4eadd","bugs":{"url":"https://github.com/sindresorhus/decompress-response/issues"},"homepage":"https://github.com/sindresorhus/decompress-response#readme","_id":"decompress-response@5.0.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"7849396e80e3d1eba8cb2f75ef4930f76461cb0f","size":2391,"noattachment":false,"key":"/decompress-response/-/decompress-response-5.0.0.tgz","tarball":"http://name.csiicloud.com:7001/decompress-response/download/decompress-response-5.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompress-response_5.0.0_1572616419647_0.7744270447294967"},"_hasShrinkwrap":false,"publish_time":1572616419809,"_cnpm_publish_time":1572616419809},"4.2.1":{"name":"decompress-response","version":"4.2.1","description":"Decompress a HTTP response if needed","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decompress-response.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["decompress","response","http","https","zlib","gzip","zip","deflate","unzip","ungzip","incoming","message","stream","compressed","brotli"],"dependencies":{"mimic-response":"^2.0.0"},"devDependencies":{"@types/node":"^12.7.1","ava":"^2.2.0","get-stream":"^5.0.0","pify":"^4.0.1","tsd":"^0.7.1","xo":"^0.24.0"},"gitHead":"c6cfc99d36fbb52d61bc252f3e766af51d21ed76","bugs":{"url":"https://github.com/sindresorhus/decompress-response/issues"},"homepage":"https://github.com/sindresorhus/decompress-response#readme","_id":"decompress-response@4.2.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"414023cc7a302da25ce2ec82d0d5238ccafd8986","size":2443,"noattachment":false,"key":"/decompress-response/-/decompress-response-4.2.1.tgz","tarball":"http://name.csiicloud.com:7001/decompress-response/download/decompress-response-4.2.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompress-response_4.2.1_1565646243258_0.8844781198189944"},"_hasShrinkwrap":false,"publish_time":1565646243388,"_cnpm_publish_time":1565646243388},"4.2.0":{"name":"decompress-response","version":"4.2.0","description":"Decompress a HTTP response if needed","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decompress-response.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["decompress","response","http","https","zlib","gzip","zip","deflate","unzip","ungzip","incoming","message","stream","compressed","brotli"],"dependencies":{"mimic-response":"^2.0.0"},"devDependencies":{"@types/node":"^11.12.2","ava":"^1.4.1","get-stream":"^5.0.0","pify":"^4.0.1","tsd":"^0.7.1","xo":"^0.24.0"},"gitHead":"2f7a9953359234bbb50075cf89c1b1adc73fa6f4","bugs":{"url":"https://github.com/sindresorhus/decompress-response/issues"},"homepage":"https://github.com/sindresorhus/decompress-response#readme","_id":"decompress-response@4.2.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"805ca9d1d3cdf17a03951475ad6cdc93115cec3f","size":2213,"noattachment":false,"key":"/decompress-response/-/decompress-response-4.2.0.tgz","tarball":"http://name.csiicloud.com:7001/decompress-response/download/decompress-response-4.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompress-response_4.2.0_1554032854345_0.012761173080178434"},"_hasShrinkwrap":false,"publish_time":1554032854531,"_cnpm_publish_time":1554032854531},"4.1.0":{"name":"decompress-response","version":"4.1.0","description":"Decompress a HTTP response if needed","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decompress-response.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd-check"},"keywords":["decompress","response","http","https","zlib","gzip","zip","deflate","unzip","ungzip","incoming","message","stream","compressed","brotli"],"dependencies":{"mimic-response":"^2.0.0"},"devDependencies":{"@types/node":"^11.10.5","ava":"^1.3.1","get-stream":"^5.0.0","pify":"^4.0.1","tsd-check":"^0.3.0","xo":"^0.24.0"},"gitHead":"a12b4c81e75a674ca368658276ee58a183b069dc","bugs":{"url":"https://github.com/sindresorhus/decompress-response/issues"},"homepage":"https://github.com/sindresorhus/decompress-response#readme","_id":"decompress-response@4.1.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"0d912451665523e5b34f04baceeac1cbad078b2f","size":2107,"noattachment":false,"key":"/decompress-response/-/decompress-response-4.1.0.tgz","tarball":"http://name.csiicloud.com:7001/decompress-response/download/decompress-response-4.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompress-response_4.1.0_1552287319747_0.36787183703384096"},"_hasShrinkwrap":false,"publish_time":1552287319918,"_cnpm_publish_time":1552287319918},"4.0.0":{"name":"decompress-response","version":"4.0.0","description":"Decompress a HTTP response if needed","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decompress-response.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava"},"keywords":["decompress","response","http","https","zlib","gzip","zip","deflate","unzip","ungzip","incoming","message","stream","compressed","brotli"],"dependencies":{"mimic-response":"^2.0.0"},"devDependencies":{"ava":"^1.1.0","get-stream":"^4.1.0","pify":"^4.0.1","xo":"^0.24.0"},"gitHead":"ae6ddbd9aa7bd29efc5bdaf86213b14df1a15810","bugs":{"url":"https://github.com/sindresorhus/decompress-response/issues"},"homepage":"https://github.com/sindresorhus/decompress-response#readme","_id":"decompress-response@4.0.0","_nodeVersion":"8.15.0","_npmVersion":"6.6.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"f84a8b5dc0eb859c4d77a139f5787b7cff170e5e","size":1843,"noattachment":false,"key":"/decompress-response/-/decompress-response-4.0.0.tgz","tarball":"http://name.csiicloud.com:7001/decompress-response/download/decompress-response-4.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompress-response_4.0.0_1547981495233_0.9058451655304223"},"_hasShrinkwrap":false,"publish_time":1547981495377,"_cnpm_publish_time":1547981495377},"3.3.0":{"name":"decompress-response","version":"3.3.0","description":"Decompress a HTTP response if needed","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decompress-response.git"},"maintainers":[{"name":"sindresorhus","email":""}],"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["decompress","response","http","https","zlib","gzip","zip","deflate","unzip","ungzip","incoming","message","stream","compressed"],"dependencies":{"mimic-response":"^1.0.0"},"devDependencies":{"ava":"*","get-stream":"^3.0.0","pify":"^3.0.0","xo":"*"},"gitHead":"dcd62471a9758f970cdcc9a33c104e8d37f366ee","bugs":{"url":"https://github.com/sindresorhus/decompress-response/issues"},"homepage":"https://github.com/sindresorhus/decompress-response#readme","_id":"decompress-response@3.3.0","_shasum":"80a4dd323748384bfa248083622aedec982adff3","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"80a4dd323748384bfa248083622aedec982adff3","size":1897,"noattachment":false,"key":"/decompress-response/-/decompress-response-3.3.0.tgz","tarball":"http://name.csiicloud.com:7001/decompress-response/download/decompress-response-3.3.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompress-response-3.3.0.tgz_1496432627972_0.16955837607383728"},"directories":{},"publish_time":1496432628054,"_cnpm_publish_time":1496432628054,"_hasShrinkwrap":false},"3.2.0":{"name":"decompress-response","version":"3.2.0","description":"Decompress a HTTP response if needed","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decompress-response.git"},"maintainers":[{"name":"sindresorhus","email":""}],"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["decompress","response","http","https","zlib","gzip","zip","deflate","unzip","ungzip","incoming","message","stream","compressed"],"devDependencies":{"ava":"*","get-stream":"^3.0.0","pify":"^2.3.0","rfpify":"^1.0.0","xo":"*"},"gitHead":"c5ca457170c190ca2baefa591aee3e38a5a8a0f8","bugs":{"url":"https://github.com/sindresorhus/decompress-response/issues"},"homepage":"https://github.com/sindresorhus/decompress-response#readme","_id":"decompress-response@3.2.0","_shasum":"d443b8c65cd7434ac7ae15579ccbdd402a61c252","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"d443b8c65cd7434ac7ae15579ccbdd402a61c252","size":2207,"noattachment":false,"key":"/decompress-response/-/decompress-response-3.2.0.tgz","tarball":"http://name.csiicloud.com:7001/decompress-response/download/decompress-response-3.2.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/decompress-response-3.2.0.tgz_1494151814028_0.4629032590892166"},"directories":{},"publish_time":1494151814249,"_hasShrinkwrap":false,"_cnpm_publish_time":1494151814249},"3.1.0":{"name":"decompress-response","version":"3.1.0","description":"Decompress a HTTP response if needed","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/decompress-response.git"},"maintainers":[{"name":"sindresorhus","email":""}],"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["decompress","response","http","https","zlib","gzip","zip","deflate","unzip","ungzip","incoming","message","stream","compressed"],"devDependencies":{"ava":"*","get-stream":"^3.0.0","pify":"^2.3.0","rfpify":"^1.0.0","xo":"*"},"gitHead":"5d3ef9a5bc384bb0362e860dc553e435a93e5cda","bugs":{"url":"https://github.com/sindresorhus/decompress-response/issues"},"homepage":"https://github.com/sindresorhus/decompress-response#readme","_id":"decompress-response@3.1.0","_shasum":"10402ecc6b3b3ebd5888bc07a66227fb662df78d","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"10402ecc6b3b3ebd5888bc07a66227fb662df78d","size":1992,"noattachment":false,"key":"/decompress-response/-/decompress-response-3.1.0.tgz","tarball":"http://name.csiicloud.com:7001/decompress-response/download/decompress-response-3.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/decompress-response-3.1.0.tgz_1494065631111_0.5124727436341345"},"directories":{},"publish_time":1494065632908,"_hasShrinkwrap":false,"_cnpm_publish_time":1494065632908}},"readme":"# decompress-response\n\n> Decompress a HTTP response if needed\n\nDecompresses the [response](https://nodejs.org/api/http.html#http_class_http_incomingmessage) from [`http.request`](https://nodejs.org/api/http.html#http_http_request_options_callback) if it's gzipped, deflated or compressed with Brotli, otherwise just passes it through.\n\nUsed by [`got`](https://github.com/sindresorhus/got).\n\n## Install\n\n```sh\nnpm install decompress-response\n```\n\n## Usage\n\n```js\nimport http from 'node:http';\nimport decompressResponse from 'decompress-response';\n\nhttp.get('https://sindresorhus.com', response => {\n\tresponse = decompressResponse(response);\n});\n```\n\n## API\n\n### decompressResponse(response)\n\nReturns the decompressed HTTP response stream.\n\n#### response\n\nType: [`http.IncomingMessage`](https://nodejs.org/api/http.html#http_class_http_incomingmessage)\n\nThe HTTP incoming stream with compressed data.\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-decompress-response?utm_source=npm-decompress-response&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n","_attachments":{},"homepage":"https://github.com/sindresorhus/decompress-response#readme","bugs":{"url":"https://github.com/sindresorhus/decompress-response/issues"},"license":"MIT"}