wasm_br

Crates.iowasm_br
lib.rswasm_br
version0.12.1
created_at2025-07-06 02:44:10.465323+00
updated_at2025-07-06 13:35:23.899392+00
descriptionesm modules for brotli compression and/or decompression, with sync and async (worker) versions
homepage
repositoryhttps://github.com/packurl/wasm_br
max_upload_size
id1739686
size2,148,000
DAVID, Jerome (programingjd)

documentation

README

WASM libs for brotli compression and decompression.

This is a simple wrapper on top of the brotli rust crate.


Compilation:

wasm-pack build --target web


Dependencies:


Remarks:

  • Level 7 or 8 seem to be the best when compression times are important.
  • Level 9 sometimes gives worse ratios that 7 or 8 (this is the case when compressing brotli.wasm or brotli_enc.wasm for instance)
  • Level 10 can be slower than level 11 (again, that's the case on brotli.wasm or brotli_enc.wasm).
  • Level 11 always gives better ratios, and sometimes by a lot, but with much longer compression times than level 9.
Commit count: 0

cargo fmt