From the source
Supabase released @supabase/middleware, a composable, type-safe middleware library for Web Fetch handlers that runs on any fetch-compatible runtime or inside frameworks like Hono and H3.
- The library lets developers define per-request logic once and reuse it across runtimes, eliminating the need to rewrite middleware for each framework or project.
- It is MIT-licensed, free, and built for TypeScript developers who write fetch handlers.
- Bridges for Hono, H3, Elysia, NestJS, and TanStack Start are available now, each requiring only a short bridge file copied into the project.






