#gzip #gz #zopfli #gunzip

wasm_gz

esm modules for gzip compression and/or decompression, with sync and async (worker) versions

1 unstable release

Uses new Rust 2024

0.7.0 Jul 6, 2025

#1504 in WebAssembly

Apache-2.0

355KB
561 lines

WASM libs for zopfli gzip compression and (g)unzip decompression.

This is a simple wrapper on top of the zopfli rust crate for the compression and the miniz_oxide rust crate for the decompression.

The handling of the gzip header and footer is done in this crate to save a few bytes on the wasm files.


Compilation:

wasm-pack build --target web


Dependencies:

Dependencies

~1–1.8MB
~34K SLoC