JavaScript DEFLATE Implementation [closed]
-
19-09-2019 - |
Question
Are there any open source DEFLATE encoder implementations for JavaScript? I need it to generate a binary format on the client-side that requires DEFLATE.
Solution
I believe Pako (https://github.com/nodeca/pako) is now the fastest javascript implementation of deflate and other zlib methods (inflate / gzip / ungzip). There are benchmarks on the github page. It also supports chunking if you need to work with big blobs.
Disclaimer: I am the author of this code.
OTHER TIPS
I found a DEFLATE encoder and decoder implementation at http://github.com/dankogai/js-deflate and they both work perfectly.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow