• v2.1.0 0594f4af6b

    ColinTimBarndt released this 2024-06-12 02:58:20 +02:00 | 0 commits to main since this release

    • Added options to compress (noCompression, fixedHuffmanCodes) and decompress (multi)
    • Upgraded libflate version to v2.1.0 (coincidence)
    • Moved to entirely custom bindings and removed wasm-bindgen and js-sys dependencies
    Downloads
  • v2.0.3 54e2260cab

    ColinTimBarndt released this 2023-10-10 22:58:23 +02:00 | 5 commits to main since this release

    The last release did not contain the correct files, this patch fixes it.

    Downloads
  • v2.0.2 a2ae4f3b93

    ColinTimBarndt released this 2023-10-10 19:57:26 +02:00 | 6 commits to main since this release

    • Updated libflate dependency to 2.0.0
    • Fixed error handling (no more wasm panicking)
    • Added class DecompressionError
    • error messages
    Downloads
  • v2.0.1 1a9839564d

    ColinTimBarndt released this 2023-04-17 12:02:13 +02:00 | 9 commits to main since this release

    Release Notes

    This build includes the source code for this version and a release that can be imported as an ES6 module.

    How to build

    npm run build
    

    The final package (including source mappings which are not included in the npm package) can be found in the dist directory.

    Downloads
  • v1.0.1 473872cb47

    ColinTimBarndt released this 2021-02-05 20:49:02 +01:00 | 6 commits to main since this release

    Release Notes

    This build includes the source code for this version and a release that can be imported as an ES6 module.

    Build it yourself

    Windows users can run the Batchfile build.bat. For other systems, use

    1. wasm-pack build --target web
    2. (Optional) minify the wasm: wasm-snip --snip-rust-panicking-code --snip-rust-fmt-code -o ./pkg/wasm_gzip_bg.wasm ./pkg/wasm_gzip_bg.wasm
    3. (Optional) delete the generated .gitignore file in ./pkg if you want to use this project with git.
    4. (Optional) minify the file wasm_gzip.js in ./pkg. For this release, terser was used: npx terser --compress --mangle -o ./wasm_gzip.js -- ./wasm_gzip.js
    Downloads
  • v0.1.2 a0b6d86981

    Wasm-Gzip Build Pre-release

    ColinTimBarndt released this 2021-01-09 11:00:49 +01:00 | 12 commits to main since this release

    Release Notes

    This build includes the source code for this version and a release that can be imported as an ES6 module.

    Build it yourself

    The release can be built from the source using the build.bat file. This should also work for Linux.
    You need wasm-bindgen and wasm-snip for this. Wasm pack currently has a bug for some users where
    it freezes after building.

    All generated files that were included in this release can be found in the pkg directory.

    Pre-release

    This is version 0.1.2 and needs some more desting before it is suitable for production. Apart from that,
    not all browsers fully support WASM and other required APIs yet.

    Downloads