Edge Runtime VM
Runs code in a Web-standard context like Vercel's Edge Runtime, for tests.
Testing npm MIT
How Edge Runtime VM is used
Edge Runtime VM is a dependency in 4 of the 6,230 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,043, Ethereum and EVM 1,756, 3D and games 3,105, agent frameworks and SDKs 13,447); counting those, it appears in 56 projects, and what it is used with below comes from all of them. Projects that use it most often also use Vitest (100.0%), Convex (75.0%), convex-test (75.0%).
Edge Runtime VM popularity over time
Gid Score 47: downloads 76, use in agent projects 42, GitHub stars 10, downloads trend 49 (each 0-100). How it is calculated.
Often used with Edge Runtime VM
| Vitest | 100.0% of Edge Runtime VM projects · 4.8× more than average |
|---|---|
| Convex | 75.0% of Edge Runtime VM projects · 133.5× more than average |
| convex-test | 75.0% of Edge Runtime VM projects · 934.5× more than average |
| AI SDK | 71.4% of Edge Runtime VM projects · 16.2× more than average |
| React | 91.1% of Edge Runtime VM projects · 2.8× more than average |
| Zod | 76.8% of Edge Runtime VM projects · 3.1× more than average |
| Next.js | 62.5% of Edge Runtime VM projects · 3.5× more than average |
| ESLint | 87.5% of Edge Runtime VM projects · 2.4× more than average |
From all 56 projects in our scan that use Edge Runtime VM, including the dependency samples.
Install
| Package | npm install @edge-runtime/vm |
|---|---|
| Main stacks | Next.js (34), TypeScript / JavaScript (21), Python (1) |
| Example projects | lobehub/lobehub, convex/agent, vual/lobe-chat-pro, schelskedevco/ignidash, LayerNorm/overlay-web |
Alternatives to Edge Runtime VM
In our scan, none of the most used tools in Testing does the same job as Edge Runtime VM: they are add-ons, companions or tools for a different task.
More in Testing: Vitest Playwright (JavaScript) Testing Library jsdom Jest pytest Happy DOM axe-core Playwright