decompress-maybe

1.1.0 • Public • Published

decompress-maybe

Transform 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".

Supported algorithms

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    551
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    551
  • 1.0.0
    6,230

Package Sidebar

Install

npm i decompress-maybe

Weekly Downloads

2,052

Version

1.1.0

License

MIT

Unpacked Size

3.38 kB

Total Files

4

Last publish

Collaborators

  • piranna