decompress-maybe

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

MIT 2 个版本
安装
npm install decompress-maybe
yarn add decompress-maybe
pnpm add decompress-maybe
bun add decompress-maybe
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

版本列表
1.1.0 2023-06-03
1.0.0 2016-08-22