SWC
Super-fast Rust-based JavaScript compiler and bundler alternative to Babel.
Build tools and bundlers npm Apache-2.0
Used in agent projects
146
1.1% of 12,697 public repos built with AI coding agents
Rank in build tools and bundlers
#12 of 81
by use in those projects
Downloads
44.5M
npm, last 7 days, @swc/core
GitHub stars
34.2K
last push Oct 8, 2026
How SWC is used
SWC is a dependency in 146 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (1.1%), #12 of 81 in build tools and bundlers. The most used alternative there is Vite. Projects that use it most often also use Prettier (80.8%), Vitest (61.6%), Nx (59.6%). It is more common in projects set up for OpenAI Codex (5.3%) than for GitHub Copilot (1.5%).
Often used with SWC
| Prettier | 80.8% of SWC projects · 4.6× more than average |
|---|---|
| Vitest | 61.6% of SWC projects · 5.1× more than average |
| Nx | 59.6% of SWC projects · 56.9× more than average |
| Nx JS Plugin | 58.2% of SWC projects · 70.4× more than average |
| ESLint | 82.2% of SWC projects · 2.2× more than average |
| Jest | 45.2% of SWC projects · 8.2× more than average |
| ts-node | 45.2% of SWC projects · 6.6× more than average |
By coding agent
| Claude Code | 2.0% of projects set up for it |
|---|---|
| Cursor | 2.7% of projects set up for it |
| GitHub Copilot | 1.5% of projects set up for it |
| OpenAI Codex | 5.3% of projects set up for it |
| Gemini CLI | 3.9% of projects set up for it |
| OpenCode | 4.4% of projects set up for it |
Share of public repos configured for each agent that list SWC as a dependency.
Install
| Package | npm install @swc/core |
|---|---|
| Main stacks | TypeScript / JavaScript (128), Next.js (9), Rust (5), Go (2) |
| Example projects | LeagueAkari/LeagueAkari, JMBeresford/retrom, ngxtension/ngxtension-platform, spencermarx/open-code-review, Khan/wonder-blocks |
Alternatives to SWC
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Vite npm Fast native-ESM powered web development build tool and dev server. |
2,897 (22.8%) | 194M | 83.3K | MIT |
| Babel (JavaScript) npm JavaScript compiler for transforming modern JavaScript to compatible code. |
484 (3.8%) | 187M | 44.1K | MIT |
| Turborepo npm High-performance build system for monorepos with task parallelization. |
399 (3.1%) | 29.5M | 31.2K | MIT |
| esbuild npm Extremely fast JavaScript and CSS bundler and minifier written in Go. |
342 (2.7%) | 3M | 40.1K | MIT |
| webpack npm Module bundler that packages JavaScript, assets and dependencies for browser deployment. |
255 (2.0%) | 54.9M | 66.1K | MIT |
| react-scripts npm Build configuration and scripts for Create React App zero-configuration setup. |
231 (1.8%) | 2.4M | 103K | MIT |
| React Compiler Babel Plugin npm Babel plugin for React Compiler that optimizes React component rendering. |
202 (1.6%) | 17.8M | 251K | MIT |
| webpack CLI npm Command-line interface for webpack bundler and related build tools. |
201 (1.6%) | 10.4M | 2,617 | MIT |