Edge Functionsglobally in seconds

Author, deploy, and monitor serverless functions distributed globally at the edge, close to your users.

Fully managed

Edge Functions scale automatically, reducing your devops burden

Global deployments

Deploy worldwide for maximum resiliency and low latency

Secure and Scalable

Simply write your code in TypeScript and deploy

Node.js Support

Migrate existing workloads with NPM and Node.js support

Supabase gave us the flexibility and scalability needed at every growth stage. It's rare to find a tool that works just as well for startups as it does for large-scale operations.

Zeno RochaCEO at Resend

Delightful DX from
local to production

Edge Functions are developed using Deno, an open source JavaScript runtime that ensures maximum power and flexibility. Migrate in and out at any time with no vendor lock-in.

First-class local dev experience

Write code with hot code reloading, a fast Language server for autocompletion, type checking and linting

Dev
Prod

Dev and Prod parity

The open source Edge runtime runs locally in dev and powers functions in production

jobs:
deploy:
runs-on: ubuntu-latest
 
steps:
- uses: actions/checkout@v4
- uses: supabase/setup-cli@v1
with:
version: latest
- run: supabase functions deploy

Continuous Integration

Use the Supabase CLI with GitHub actions to preview and deploy your functions along with the rest of your application

fetchcryptoESLintatobmomentexpressfastifysocket.ioasynclodashunderscoreramdavalidatoryupday.jsdate-fnsjsonwebtokenbcryptuuidfs-extrarimrafmkdirpglobshelljs@supabase/supabase-jsjs-yamltypescriptjestvitestwinstonpinodebugeslintprettiernodemontsxdotenvzodvalibot@octokit/restcross-envcommanderyargsminimistchalkcolorsorakleurpicocolors@aws-sdk@google-cloud/storageaxiosgotkypassportnodemailerresend@sendgrid/mail@supabase/auth-helpers-reactmongooseprismadrizzle-ormkyselyopenai@anthropic-ai/sdklangchainjwtreactsolid-jssveltemochaautoprefixer@supabase/auth-ui-reactgray-mattermarkedunifiedrehyperemarkrequestprop-typesreact-dombluebirdp-limitp-queuevuenuxtnexttslibts-nodeinquirerpromptswebpackesbuildrollupclassnamesclsxbody-parserrxjsxstatebabel-runtimejquerystripe@clerk/clerk-jsposthog-jssentrydatadog-metricssharpjimppdf-libarchivernode-cronbullioredischeerioplaywrightpuppeteerstytchtwiliovonage@slack/web-apidiscord.jstelegrafhonooakitty-routerzxexecananoidmsqsnode-fetchundicimswjoseqrcodejsdomxlsxcsv-parsepapaparseyamlbullmqlru-cachekeyvdeepmergeimmerzustandjotai

Use any NPM module

Tap into the Deno and NPM ecosystem

Edge Functions run server-side logic geographically close to users, offering low latency and great performance.

Global presence

Edge functions run globally or can be pinned to your database's proximity

Automatic scaling

Seamlessly scale with usage without any manual tuning

Secure

Scale with confidence with SSL, Firewall and DDOS protection built in

Debug and monitor with
built-in observability

Monitor, debug, and optimize your Edge Functions with realtime logs, queryable log explorer, and health dashboards — all built into the Supabase Dashboard.

Realtime logs

Stream logs to the dashboard in realtime with rich metadata to help debugging

Query Logs via Log explorer

Get deeper insights into function behavior by writing SQL queries on function logs

Metrics

Dashboards show the health of your functions at all times

Integrates with the Supabase ecosystem

Access your database, auth, storage, and webhooks directly from Edge Functions with zero configuration.

import { createClient } from 'jsr:@supabase/supabase-js@2'

Deno.serve(async () => {
  // These are automatically available — no setup needed
  const supabase = createClient(
    Deno.env.get('SUPABASE_URL')!,
    Deno.env.get('SUPABASE_ANON_KEY')!
  )

  const { data } = await supabase.from('todos').select('*')
  return new Response(JSON.stringify(data))
})

Zero configuration

Pre-populated environment variables required to access your Supabase project

Documentation

Deploy your first functionin under a minute

Two commands. Global deployment. No infrastructure to manage.

Terminal