Babel (JavaScript) vs SWC
In 4,864 JavaScript/TypeScript projects set up for AI coding agents, Babel (JavaScript) is a dependency in 231 (4.7%) and SWC in 111 (2.3%): Babel (JavaScript) is 2.1× as common. Among repos created in the last 90 days that use a build tools and bundlers tool, Babel (JavaScript) is in 4.0% and SWC in 1.6%, against 10.4% and 5.0% of older ones. 31 projects list both, often a sign of a migration or of a monorepo with several apps.
Build tools and bundlers npm Updated Nov 17, 2026
| Babel (JavaScript) | 4.7% | |
|---|---|---|
| SWC | 2.3% |
Share of 4,864 JavaScript/TypeScript projects set up for AI coding agents that list each one as a dependency.
Side by side
| Babel (JavaScript) | SWC | |
|---|---|---|
| Agent projects that use it | 231 | 111 |
| Rank in build tools and bundlers | #4 | #9 |
| In new repos with a build tools and bundlers tool (last 90 days) | 4.0% | 1.6% |
| In older repos with one | 10.4% | 5.0% |
| Downloads, last 7 days | 26M | 58.1M |
| GitHub stars | 44.1K | 34.2K |
| Last push to its repo | Nov 17, 2026 | Nov 17, 2026 |
| License | MIT | Apache-2.0 |
| Funding | Yes | Yes |
| Projects that list both | 31 | |
Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.
By coding agent
| Projects set up for | JavaScript/TypeScript repos | Babel (JavaScript) | SWC |
|---|---|---|---|
| Claude Code | 2,617 | 4.2% | 2.6% |
| GitHub Copilot | 2,350 | 4.2% | 1.9% |
| Cursor | 1,990 | 5.8% | 3.4% |
| Gemini CLI | 422 | 2.8% | 3.8% |
| OpenAI Codex | 409 | 5.6% | 6.1% |
| OpenCode | 304 | 6.2% | 4.9% |
| OpenClaw | 241 | 3.3% | 0% |
| Devin Desktop | 231 | 4.8% | 0% |
| Roo-Code | 90 | 6.7% | 0% |
| Cline | 62 | 8.1% | 0% |
Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.
Babel (JavaScript)
JavaScript compiler for transforming modern JavaScript to compatible code.
Most often used with it:
| Jest | 43.7% of its projects |
|---|---|
| React | 73.2% of its projects |
| ESLint | 71.9% of its projects |
| React Native | 34.2% of its projects |
| Testing Library | 36.4% of its projects |
npm install @babel/core
SWC
Super-fast Rust-based JavaScript compiler and bundler alternative to Babel.
Most often used with it:
| Nx | 75.7% of its projects |
|---|---|
| Nx JS Plugin | 74.8% of its projects |
| Prettier | 75.7% of its projects |
| Nx ESLint Plugin | 57.7% of its projects |
| Nx Web | 53.2% of its projects |
npm install @swc/core
More matchups
esbuild vs SWCTurborepo vs Nxesbuild vs webpackVite vs webpack
How we count
Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.