Skip to content
JS
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

v0.6.0, 21 Sept 2026MITESM + CommonJSTypes: BundledCloud SDKsHTTP clients
$ npm install @supabase/middleware

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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@supabase/middleware@0.6.0/
  • unpkghttps://unpkg.com/@supabase/middleware@0.6.0/
  • esm.shhttps://esm.sh/@supabase/middleware@0.6.0
PackageWeekly downloadsGzipLast releaseModuleComparison
aws-xray-sdk-fetch5.2k-10 months agoCommonJS-
itty-router254.1k-3 months agoESM + CommonJS-
gaxios73m-8 days agoESM + CommonJS-
hono46.1m-1 day agoESM + CommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.