4 ms·
Thanks! This looks really useful. I've been using https://www.npmjs.com/package/zstd-codec https://www.npmjs.com/package/zstd-codec which simply compiles the of
by pimterry 5y ago
Thanks! This looks really useful. I've been using https://www.npmjs.com/package/zstd-codec https://www.npmjs.com/package/zstd-codec which simply compiles the official implementation to WASM and wraps it up for JS use. It does include the compressor too, but the end result is quite dramatically larger (3MB unzipped).
- IvanK_net 5y agoYou can compile only the decompressor of the official ZSTD library to wasm, it is ony 28 kB: https://github.com/facebook/zstd/files/6602821/zstd.zip https://github.com/facebook/zstd/files/6602821/zstd.zip