Back to skills

netlify-edge-functions

infrastructure

Netlify Edge Functions run on a globally distributed Deno runtime, executing code at the network edge closest to each user. The skill covers the middleware pattern using context.next(), geolocation ac

Setup & Installation

npx skills add https://github.com/netlify/netlify-edge-functions --skill netlify-edge-functions
or paste the link and ask your coding assistant to install it
https://github.com/netlify/netlify-edge-functions
View on GitHub

What This Skill Does

Netlify Edge Functions run on a globally distributed Deno runtime, executing code at the network edge closest to each user. The skill covers the middleware pattern using context.next(), geolocation access, request/response manipulation, and when to use edge compute over standard serverless functions. Edge functions run in Deno with sub-50ms CPU budgets at global PoPs, so geolocation redirects and auth checks happen before the request ever reaches your origin, unlike a serverless function that runs in a single region.

When to use it

  • Working with netlify edge functions functionality
  • Implementing netlify edge functions features
  • Debugging netlify edge functions related issues