Actually there is a solution that works perfectly and is also lightning fast:
Is there a node.js (server) compatible ZLIB.deflate implementation for the browser (client)
-
31-05-2022 - |
سؤال
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.
المحلول
لا تنتمي إلى StackOverflow