edge-middleware
v0.2.15
Published
Middleware & Abstraction Layer for Edge Functions that work for both Cloudflare Workers & Next.js Middleware with Edge Functions on Vercel
Downloads
3
Readme
SaaSkit Middleware
This is a collection of highly-opinionated middleware with an abstraction and compatibility layer to make Edge Middleware work with both Cloudflare Workers & Next Edge Functions on Vercel.
There are polyfills going in both directions, so middleware that was originally written for either Cloudflare Workers or Next.js Middleware can work on the other.
There is also a compatibility layer to allow Workers KV to run on Next.js and Vercel for Key Value storage on the edge.