Skip to content

🔫 make sure a stream gets unzipped if necessary

Notifications You must be signed in to change notification settings

catdad/ensure-gunzip

Repository files navigation

ensure-gunzip

Build Test Coverage Code Climate Downloads Version Dependency Status

Detects gzip compression and makes sure that a stream always gets unzipped if needed.

Install

npm install --save ensure-gunzip

Use

var ensureGunzip = require('ensure-gunzip');

var mysteriousStream = getStreamSomehow();

var stream = ensureGunzip(mysteriousStream);

// read plain data from `stream`

About

🔫 make sure a stream gets unzipped if necessary

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published