From the source
Supabase released @supabase/middleware, a composable, type-safe middleware library for Web Fetch handlers.
It allows developers to define per-request logic once and run it on any runtime that supports fetch, including frameworks like Hono, H3, Elysia, NestJS, and TanStack Start via a short bridge file.
The library is MIT-licensed and free.




