4 ms·
Depending on how repeative the object keys are, you maybe able to save quite some spaces with compress-json [1]. Since the OP is using lz-string to do compress
by aabbcc1241 4y ago
Depending on how repeative the object keys are, you maybe able to save quite some spaces with compress-json [1].
Since the OP is using lz-string to do compression, I suppose the data should be repetitive.
[1] https://www.npmjs.com/package/compress-json https://www.npmjs.com/package/compress-json