Edge Runtime
Keep, but not for new work. 9th of 9 JavaScript runtimes.
Edge Runtime is Vercel's Node.js-based copy of its Edge Functions sandbox, meant for local development and tests. It has had no release since December 2024. Vercel now tells new projects to use Node.js instead of Edge, and Next.js 16.3 no longer supports runtime = 'edge'. Do not pick it for new work.
Best for: Teams that still run legacy Vercel Edge Functions and need to test them locally until they move to Node.js.
Scores
Overall3.0
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 2.0, likely 1.0 to 3.0
It emulates a platform that its own vendor has deprecated for new projects, and it has gone almost two years without a release. Teams with legacy Edge Functions can keep it for now. For new work, use Node.js on Vercel, or workerd and Wrangler for edge-style code. The range is narrow because the vendor's deprecation is direct evidence.
- vercel.com/changelog/edge-middleware-and-edge-functions-are-now-powered-by-vercel-functions: Edge Functions deprecated for new projects
- vercel.com/docs/functions/runtimes/edge: Recommends migrating to Node.js; Next.js 16.3 drops edge
- github releasesLastYear: 0 releases
- peers: Node.js, Bun, Deno and workerd are all very active
GPT-6.2 Sol: 4.0, likely 3.0 to 5.2
Keep Edge Runtime for local tests when an existing Vercel Edge deployment still needs them. Choose Node.js for a new Vercel app or general server work, and workerd for Cloudflare Workers. The upper end reflects the value of matching the environment of an existing deployment, while the long release gap and Next.js deprecation weigh heavily for new projects.
- edge-runtime.vercel.app/packages/runtime: Documents the package's local testing role
- vercel.com/docs/functions/runtimes/edge: Vercel recommends Node.js for functions
- github.com/vercel/next.js/releases/tag/v16.3.0: Next.js deprecated Edge in 16.3
- github.com/cloudflare/workerd/blob/main/README.md?plain=1: workerd powers Cloudflare Workers and runs them locally
- npm latestPublishedAt, github releasesLastYear, peers: December 2024 latest release while the major peers continued shipping
Needed by many2.2
How many developers need a tool for this job?
Claude Opus 5.5: 1.5, likely 0.5 to 3.0
It serves only developers who test code for Vercel's Edge runtime, which is a single platform. Vercel itself now steers users away from that platform. That is a tiny share of the people who need a JavaScript runtime.
- vercel.com/docs/functions/runtimes/edge: Vercel recommends migrating from Edge to Node.js; Next.js 16.3 drops runtime='edge'
- project note: A local copy of the Vercel Edge Functions runtime for development and tests
GPT-6.2 Sol: 2.8, likely 1.8 to 4.0
The need to run JavaScript outside the browser is broad, but this package mainly serves teams testing Vercel Edge handlers. State of JavaScript 2024 recorded 1,717 regular users of the hosted Edge Runtime among 10,123 respondents to the edge and serverless question. The share that needs the local package is uncertain, and the 2025 survey grouped Vercel Functions together.
- edge-runtime.vercel.app/packages/runtime: Defines the package's local Vercel Edge use case
- 2024.stateofjs.com/en-US/other-tools: Survey measured regular use of the hosted runtime
- 2025.stateofjs.com/en-US/other-tools: Later survey reports Vercel Functions as a group
Helps a lot4.6
How well does it do the job for those who need it?
Claude Opus 5.5: 3.0, likely 2.0 to 4.5
For its narrow job it works: it emulates the Edge globals, blocks dynamic code and offers a Jest environment. But it runs on Node's vm module, not a true isolate, so it is not a general runtime. Every runtime peer does far more, and workerd does the same edge emulation job for a live platform.
- edge-runtime.vercel.sh/packages/jest-environment: The Jest environment makes code like eval fail in tests, as it does in production
- vercel.com/docs/functions/runtimes/edge: Lists the subset of Web and Node APIs that the Edge runtime supports
- github openIssues/openPullRequests: 32 open issues and 25 open PRs left unhandled
GPT-6.2 Sol: 6.2, likely 4.9 to 7.4
Version 4.0.1 provides a typed API, a CLI, and a local HTTP server for testing fetch handlers and background work. Its Web API environment omits many Node.js built-ins, and a user reported an unresolved case where the local server drops a cookie from a combined header. The documented examples give coding agents a starting point, while local performance and agent reliability have little direct evidence.
- edge-runtime.vercel.app/packages/runtime: Documents types, fetch dispatch, HTTP serving, and waitUntil
- edge-runtime.vercel.sh/cli: Documents local script and server commands
- vercel.com/docs/functions/runtimes/edge: Describes Node.js API and module compatibility limits
- github.com/vercel/edge-runtime/issues/892: Open report of a cookie dropped by the local server
Holds up over time2.2
Will it still be a good choice in two years?
Claude Opus 5.5: 1.5, likely 0.5 to 3.0
The last release was in December 2024, and there were only 5 commits in the past year. Vercel deprecated Edge Functions for new projects in June 2025, and Next.js 16.3 no longer supports the edge runtime. The ecosystem is clearly moving away from it, although the repository is not archived.
- github commitsLastYear / releasesLastYear: 5 commits and 0 releases in the last year
- npm latestPublishedAt: 4.0.1 published 2024-12-03
- vercel.com/changelog/edge-middleware-and-edge-functions-are-now-powered-by-vercel-functions: Edge Functions deprecated for new projects; Node.js recommended
- vercel.com/docs/functions/runtimes/edge: Next.js 16.3 drops runtime='edge'
GPT-6.2 Sol: 2.9, likely 1.8 to 4.2
The repository logged five commits and no releases in the last year, and some compatibility fixes have been open since 2024. Vercel still supports Edge in Routing Middleware, but it recommends migrating functions to Node.js and Next.js 16.3 deprecated Edge for routes. Continued middleware use leaves some room for maintenance, though the release gap makes future fixes hard to count on.
- github commitsLastYear, releasesLastYear, latestRelease: Five commits and no releases in the past year
- github.com/vercel/edge-runtime/pulls: Long-open fixes for local compatibility problems
- github.com/vercel/next.js/releases/tag/v16.3.0: Next.js release records the Edge runtime deprecation
- vercel.com/docs/functions/runtimes/edge: Vercel recommends migrating functions to Node.js
- vercel.com/docs/routing-middleware: Vercel Routing Middleware still offers Edge
Used widely3.3
How many use it, and is that growing?
Claude Opus 5.5: 3.0, likely 2.0 to 4.5
It had 23.7M downloads in four weeks, 5.5 times the figure of a year ago, which is above the 4.1 median. But nearly all of those come from Vercel's CLI and builder packages installing it. Its 2,769 dependent repos point to a few thousand real users, and with Edge deprecated, few new projects will choose it.
- npm downloadsLast4Weeks: 23.7M, up from 4.28M a year ago (ratio 5.5)
- dependents: 2,769 repos and 45 packages, against 21,486 repos for Bun and 3,416 for workerd
- @vercel/node dependency: Vercel's build tools install edge-runtime, which inflates its downloads
- bluesky / hackerNews: 0 posts and 0 stories
GPT-6.2 Sol: 3.6, likely 2.5 to 5.0
Four-week npm downloads rose from 4.28 million to 23.72 million, about 5.54 times the prior year and above the 4.1 catalog median. That pace trails Node.js, Bun, Deno, and workerd in the bundle, and Vercel's build tooling installs an older version as a dependency. The 2,769 detected repositories and 45 packages suggest a few thousand direct users, but incomplete coverage and no matched Bluesky posts leave the trend in new choices unclear.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: Package downloads grew 5.54 times against a 4.1 median
- dependents, github stars, bluesky posts, peers: 2,769 repos, 45 packages, 917 stars, and no matched Bluesky posts
- github.com/vercel/vercel/blob/main/packages/node/package.json: Vercel's Node builder pins edge-runtime 2.5.9
Vouched for3.8
Who stands behind it being good?
Claude Opus 5.5: 2.5, likely 1.5 to 4.0
Its only backer is Vercel, which uses it in its own tooling and now advises against the platform it emulates. I found no independent reviews, benchmarks or survey data, and no community discussion.
- hackerNews / bluesky: No stories or posts
- vercel.com/docs/functions/runtimes/edge: The vendor recommends migrating away from Edge
- tessl.io/registry/testland/vercel-edge-runtime-testing: Only third-party summaries of testing setups exist
GPT-6.2 Sol: 5.1, likely 3.9 to 6.3
Vitest uses the project's VM as a built-in test environment, and Vercel's own tooling depends on the standalone package. PostHog maintains examples for hosted Edge but advises new Next.js projects to use Node.js. An independent deployment benchmark found that latency depended on client location, and there is little recent evidence of teams choosing the standalone package directly.
- vitest.dev/guide/environment: Independent test runner integrates the underlying VM
- github.com/vercel/vercel/blob/main/packages/node/package.json: Vercel's build tooling directly depends on the package
- github.com/PostHog/posthog-js/blob/main/examples/README.md: PostHog maintains Edge examples and recommends Node.js for new Next.js apps
- github.com/tang-vu/crypto-edge-benchmark: Independent hosted benchmark found results varied by client location
Safe5.4
How safe is it to depend on?
Claude Opus 5.5: 6.0, likely 4.5 to 7.5
No advisories have been filed against it, it has an MIT licence and it pulls in 9 dependencies. It is published by a large company. However, there is no Scorecard data, and with no releases for nearly two years its dependencies are not being refreshed. It also runs code in Node's vm, which is not a security boundary.
- advisories: 0 advisories in total
- npm dependencies: 9 dependencies
- scorecard: No OpenSSF Scorecard data
- npm latestPublishedAt: No release since December 2024
GPT-6.2 Sol: 4.8, likely 3.4 to 6.4
The package uses MIT, declares nine direct dependencies, and has no direct OSV advisories in the snapshot. Its bundled Undici 6.21.0 predates a published fix for multipart fetch requests, and the underlying Node.js VM is suitable only for trusted code. GitHub Actions created the latest GitHub release, while npm publishing access and OpenSSF Scorecard checks remain unverified.
- npm license, npm dependencies, advisories, scorecard: MIT, nine direct dependencies, zero direct OSV advisories, and no Scorecard
- github.com/vercel/edge-runtime/releases: GitHub Actions release and the VM's dependency on Primitives 6.0.0
- raw.githubusercontent.com/vercel/edge-runtime/d1fbe4e/packages/primitives/package.json: Released source pins Undici 6.21.0
- raw.githubusercontent.com/vercel/edge-runtime/d1fbe4e/packages/primitives/scripts/build.ts: Build bundles the fetch implementation
- github.com/nodejs/undici/security/advisories/GHSA-c76h-2ccp-4975: Upstream multipart fetch fix landed in Undici 6.21.1
- raw.githubusercontent.com/vercel/edge-runtime/d1fbe4e/packages/vm/src/vm.ts: Local execution uses Node.js VM contexts
- nodejs.org/api/vm.html: Node.js advises against running untrusted code in the VM
Good
- Reproduces the Edge sandbox limits, such as no eval and only a subset of Web APIs, so code that breaks on the edge also breaks in local tests.
- Offers a CLI, a programmatic API and a Jest environment for testing edge code.
- Has an MIT licence, ships its own types, and has no known advisories.
Bad
- No release since 4.0.1 in December 2024, and only 5 commits in the last year.
- Vercel has deprecated Edge Functions for new projects, and Next.js 16.3 dropped runtime = 'edge'.
- It is not a real runtime: it emulates one platform's API surface on top of Node.js.
- Most of its downloads come from Vercel's own tools installing it, not from developers choosing it.
The numbers
- npm downloads, 4 weeks
- 24M ×5.5 in a year
- GitHub stars
- 917
- Commits, 12 months
- 5
- npm version
- 4.0.1 Dec 2024
- Versions, 12 months
- 0
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
A local copy of the runtime of Vercel Edge Functions, for development and tests.
Read on 21 November 2026 from GitHub (vercel/edge-runtime), npm (edge-runtime), OSV and the OpenSSF Scorecard.