/ archiveofbelonging.org / back / node_modules / inflation /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[TXT]HISTORY.md9 years ago338  
[   ]LICENSE9 years ago1.1K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
[TXT]README.md9 years ago925 f12eb36 documentaiton updates [كارل مبارك]
[   ]index.js9 years ago637  
[   ]package.json2 years ago1.7K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
README.md

inflation

NPM version Build Status Coverage Status

Automatically unzip an HTTP stream.

API

var inflate = require('inflation')

inflate(stream, options)

Returns a stream that emits inflated data from the given stream.

Options:

Example

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)
  })
})
Apache/2.4.38 (Debian) Server at www.karls.computer Port 80