Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Compress URL data with pako #9

Open
jmackie opened this issue Mar 28, 2023 · 0 comments
Open

Compress URL data with pako #9

jmackie opened this issue Mar 28, 2023 · 0 comments

Comments

@jmackie
Copy link
Member

jmackie commented Mar 28, 2023

It's zlib for the browser.

> const pako = require('pako');
> Buffer.from(pako.deflate("aaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbccccccccccccccccccccccccccccccccccccccc")).toString("base64")
'eJxLTMQJkogBycQBAPy2J3s='
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant