D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
cpanel
/
ea-nodejs10
/
lib
/
node_modules
/
npm
/
node_modules
/
unzip-response
/
Filename :
readme.md
back
Copy
# unzip-response [](https://travis-ci.org/sindresorhus/unzip-response) > Unzip a HTTP response if needed Unzips 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. ## Install ``` $ npm install --save unzip-response ``` ## Usage ```js const http = require('http'); const unzipResponse = require('unzip-response'); http.get('http://sindresorhus.com', res => { res = unzipResponse(res); }); ``` ## License MIT © [Sindre Sorhus](https://sindresorhus.com)
Name
Size
Last Modified
Owner
Permissions
Actions
index.js
0.84
KB
September 13 2023 2:48:05
root
0644
license
1.094
KB
September 13 2023 2:48:05
root
0644
package.json
1.81
KB
September 13 2023 2:48:05
root
0644
readme.md
0.646
KB
September 13 2023 2:48:05
root
0644
2017 © D7net | D704T team