Файловый менеджер - Редактировать - /home/freeclou/app.optimyar.com/backend/node_modules/inflation/README.md
Назад
# inflation [](http://badge.fury.io/js/inflation) [](https://travis-ci.org/stream-utils/inflation) [](https://coveralls.io/r/stream-utils/inflation) Automatically unzip an HTTP stream. ## API ```js var inflate = require('inflation') ``` ### inflate(stream, options) Returns a stream that emits inflated data from the given stream. Options: - `encoding` - The encoding of the stream (`gzip` or `deflate`). If not given, will look in `stream.headers['content-encoding']`. ## Example ```js var inflate = require('inflation') var raw = require('raw-body') http.createServer(function (req, res) { raw(inflate(req), 'utf-8', function (err, string) { console.dir(string) }) }) ```
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка