JSPM

decompress-maybe

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4660
  • Score
    100M100P100Q121713F
  • License MIT

Transform stream that decompress its input if it's compressed, and echoes it if not

Package Exports

  • decompress-maybe
  • decompress-maybe/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (decompress-maybe) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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