Any library to compress/decompress JSON on Edge CF Worker?

Hi I noticed I cannot use this library on a CloudFlare Worker: Any alternative I can use to compress/decompress Jsons on a CloudflareWorker?
GitHub - mongodb-js/zstd: A Zstd Compression Library
A Zstd Compression Library. Contribute to mongodb-js/zstd development by creating an account on GitHub.
1 Reply
Chaika4w ago
Cloudflare Workers support compression streams:, which support gzip or deflate