diff --git a/docs/middleware/builtin/compress.md b/docs/middleware/builtin/compress.md index f55979d8..27fba41f 100644 --- a/docs/middleware/builtin/compress.md +++ b/docs/middleware/builtin/compress.md @@ -5,7 +5,7 @@ This middleware compresses the response body, according to `Accept-Encoding` req ::: info **Note**: On Cloudflare Workers and Deno Deploy, the response body will be compressed automatically, so there is no need to use this middleware. -**Bun**: This middleware uses `CompressionStream` which is not yet supported in bun. +**Bun**: This middleware uses `CompressionStream` which is not yet supported in Bun, for Bun support use the drop-in replacement [@hono/bun-compress](https://www.npmjs.com/package/@hono/bun-compress) ::: ## Import diff --git a/docs/middleware/third-party.md b/docs/middleware/third-party.md index ad1a167f..628c904d 100644 --- a/docs/middleware/third-party.md +++ b/docs/middleware/third-party.md @@ -33,6 +33,7 @@ Most of this middleware leverages external libraries. ### Others - [Bun Transpiler](https://github.com/honojs/middleware/tree/main/packages/bun-transpiler) +- [Bun Compress](https://github.com/honojs/middleware/tree/main/packages/bun-compress) - [esbuild Transpiler](https://github.com/honojs/middleware/tree/main/packages/esbuild-transpiler) - [Event Emitter](https://github.com/honojs/middleware/tree/main/packages/event-emitter) - [GraphQL Server](https://github.com/honojs/middleware/tree/main/packages/graphql-server)