edge-middleware
TypeScript icon, indicating that this package has built-in type declarations

0.2.15 • Public • Published

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.

This module is still in early active development so expect the API to change ... and better yet, make a pull request with any ideas

Readme

Keywords

none

Package Sidebar

Install

npm i edge-middleware

Weekly Downloads

1

Version

0.2.15

License

MIT

Unpacked Size

29.3 kB

Total Files

41

Last publish

Collaborators

  • hackerhailee