unjs / unenv

🕊️ Convert javaScript code to be runtime agnostic
MIT License
340 stars 18 forks source link

Partially implement `node:zlib` using web compression streams #235

Open pi0 opened 1 month ago

pi0 commented 1 month ago

Followup from https://github.com/unjs/unenv/pull/230

node:zlib (gzip and deflate) can be implemented using Compression Streams API when available.