wasm_br 0.12.1

esm modules for brotli compression and/or decompression, with sync and async (worker) versions
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 2.14 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.14 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 32s Average build duration of successful builds.
  • all releases: 32s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • packurl/wasm_br
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • programingjd

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.