Transform stream that decompress its input if it's compressed, and echoes it if not
npm install decompress-maybeTransform stream that decompress its input if it's compressed, and echoes it if
not
This module accept a stream compressed using gunzip or bzip2 formats and
output the decompressed stream. In case the input stream was already
decompressed it returns it as-is. More compression formats could be added in the
future, pull-requests are welcome :-)
This is a collaboration project between Mathias Buss
"mafintosh" and Jesús Leganés-Combarro
"piranna".
- [ ] brotli. Help wanted, see
- [x] bzip2, using bzip2-maybe
- [x] unzip, not the
Node.js native one,
but provided by gunzip-maybe
instead. See
- [x] gunzip
- [x] inflate
- [x] zstd, using simple-zstd