gunzip-stream
1.0.1 • Public • Published gunzip-stream
Gunzip a stream if needed
Transform
stream which acts as zlib.Gunzip
if input is gzipped. Fallback otherwise to a simple PassThrough
stream.
Install
$ npm install gunzip-stream
Usage
const fs = require('http');
const {createGunzip} = require('gunzip-stream');
fs.createReadStream('/path/to/file.gz.or.not')
.pipe(createGunzip())
.pipe(process.stdout)
License
MIT
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.1
4,250
Version History
Package Sidebar
Install
Weekly Downloads