Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

edge-middleware

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edge-middleware

Middleware & Abstraction Layer for Edge Functions that work for both Cloudflare Workers & Next.js Middleware with Edge Functions on Vercel

  • 0.2.15
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 08 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc