# Edge Runtime: 3.0 out of 10

Keep, but not for new work. 9th of 9 in [JavaScript runtimes](https://elestia.ai/opensource/runtimes/index.md).

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

- **Overall: 3.0** (likely 2.0 to 4.1)
  - Claude Opus 5.5 (2.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.
  - GPT-6.2 Sol (4.0): 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.
- **Needed by many: 2.2** (likely 1.2 to 3.5)
  - Claude Opus 5.5 (1.5): 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.
  - GPT-6.2 Sol (2.8): 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.
- **Helps a lot: 4.6** (likely 3.5 to 6.0)
  - Claude Opus 5.5 (3.0): 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.
  - GPT-6.2 Sol (6.2): 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.
- **Holds up over time: 2.2** (likely 1.2 to 3.6)
  - Claude Opus 5.5 (1.5): 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.
  - GPT-6.2 Sol (2.9): 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.
- **Used widely: 3.3** (likely 2.3 to 4.8)
  - Claude Opus 5.5 (3.0): 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.
  - GPT-6.2 Sol (3.6): 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.
- **Vouched for: 3.8** (likely 2.7 to 5.2)
  - Claude Opus 5.5 (2.5): 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.
  - GPT-6.2 Sol (5.1): 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.
- **Safe: 5.4** (likely 4.0 to 7.0)
  - Claude Opus 5.5 (6.0): 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.
  - GPT-6.2 Sol (4.8): 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.

## 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

- Downloads, 4 weeks: 24M
- In a year: ×5.5
- GitHub stars: 917
- Commits, 12 months: 5
- Last npm release: Dec 2024
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/vercel/edge-runtime
- npm: https://www.npmjs.com/package/edge-runtime

A local copy of the runtime of Vercel Edge Functions, for development and tests.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
