Package
@supabase/middleware
Composable, type-safe middleware for Web Fetch handlers. A middleware is a (config, handler) wrapper that runs against the inbound Request, contributes a typed key to ctx, and either short-circuits or falls through — the same shape across every runtime an
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 52.9k
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 3 days ago
- v0.6.0
- GitHub stars
- 6
- 1 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 80
No weekly download data in the snapshot.
52,878 downloads last week, 124,977 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- -
- Latest version
- 0.6.0, 21 Sept 20263 days ago
- First published
- -
- Last push to GitHub
- 23 Sept 20261 day before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 80
- Dependents on npm
- 3
Major versions
-
Recent releases
-
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=22
- Runtimes
- -
- Unpacked size (npm)
- 250 kB
- Dependencies (1)
std-env- Peer dependencies (1)
typescript
npm install @supabase/middleware- jsDelivr
https://cdn.jsdelivr.net/npm/@supabase/middleware@0.6.0/ - unpkg
https://unpkg.com/@supabase/middleware@0.6.0/ - esm.sh
https://esm.sh/@supabase/middleware@0.6.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| aws-xray-sdk-fetch | 5.2k | - | 10 months ago | CommonJS | - |
| itty-router | 254.1k | - | 3 months ago | ESM + CommonJS | - |
| gaxios | 73m | - | 8 days ago | ESM + CommonJS | - |
| hono | 46.1m | - | 1 day ago | ESM + CommonJS | - |
Indexability: Indexed.