Skip to content

🗜️⚡Compress files on the client side super fast using WASM. Supports GZIP, ZLIB and DEFLATE compression and decompression

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT
Notifications You must be signed in to change notification settings

DataWallet/wasm-flate

 
 

Repository files navigation

🗜️⚡ wasm-flate

This a fork of drbh/wasm-flate

npm version

The fastest compression and decompression in the browser.

Installation

Using YARN

yarn add @datawallet/wasm-flate

Resources

Docs - get API reference and flate functions.

Building with Rust 🦀🕸️

In order to build the wasm files with Rust, you'll need to clone the repo and run wasm-pack with bundler as the target. This will create a set of files in pkg that can be used as webpack package.

git clone https://github.com/datawallet/wasm-flate.git
cd wasm-flate
yarn build

You should have the following new files

pkg/
├── LICENSE-APACHE
├── LICENSE-MIT
├── README.md
├── wasm-flate.d.ts
├── wasm-flate.js
├── wasm-flate_bg.d.ts
├── wasm-flate_bg.js
├── wasm-flate_bg.wasm
└── package.json

Publish

wasm-pack login
yarn build
wasm-pack publish

Donate to @drbh here

If you found wasm-flate useful feel free to buy @drbh a beer 🍺 or two 😀 here: https://github.com/drbh/wasm-flate#donate-here

About

🗜️⚡Compress files on the client side super fast using WASM. Supports GZIP, ZLIB and DEFLATE compression and decompression

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%