hono
hono copied to clipboard
Support Zstandard (zstd) compression algorithm
What is the feature you are proposing?
Major browsers support zstd now ref.
I propose to support zstd compression algorithm in Hono🔥.
https://github.com/honojs/hono/blob/b1335f9fb296cfa4b947367bbad0512c7739c5f5/src/middleware/compress/index.ts#L9
related PR: #3543
Hi @Gumichocopengin8
It's interesting to support Zstandard for the Compress Middleware. But currently, it can't. The CompressionStream used in it does not support Zstandard yet.
https://developer.mozilla.org/en-US/docs/Web/API/CompressionStream
In theory node supports zstd but it’s still experimental.