简体   繁体   中英

Is there a node.js (server) compatible ZLIB.deflate implementation for the browser (client)

I want to deflate very big JSON objects client side (plus base64 encription) and then inflate them on a node.js server with

zlib.inflate( new Buffer( postData, 'base64'), function( err, result ) {
...
)}

Is there any really (!) working implementation for client side deflating out there? I have not found one yet.

Actually there is a solution that works perfectly and is also lightning fast:

https://github.com/imaya/zlib.js/blob/develop/README.en.md

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM