Used in agent projects
126
1.0% of 12,697 public repos built with AI coding agents
Rank in build tools and bundlers
#18 of 81
by use in those projects
Downloads
9.2M
npm, last 7 days, tsup
GitHub stars
11.3K
last push Oct 7, 2026
How tsup is used
tsup is a dependency in 126 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (1.0%), #18 of 81 in build tools and bundlers. The most used alternative there is Vite. Projects that use it most often also use Vitest (55.6%), tsx (44.4%), TypeScript (93.7%).
Often used with tsup
| Vitest | 55.6% of tsup projects · 4.6× more than average |
|---|---|
| tsx | 44.4% of tsup projects · 4.5× more than average |
| TypeScript | 93.7% of tsup projects · 1.7× more than average |
| Prettier | 42.9% of tsup projects · 2.5× more than average |
| ESLint | 52.4% of tsup projects |
| lint-staged | 16.7% of tsup projects · 3.6× more than average |
| Model Context Protocol SDK (JavaScript) | 16.7% of tsup projects · 3.5× more than average |
| Commander | 14.3% of tsup projects · 9.8× more than average |
By coding agent
| Claude Code | 1.6% of projects set up for it |
|---|---|
| Cursor | 1.6% of projects set up for it |
| GitHub Copilot | 1.2% of projects set up for it |
| Gemini CLI | 3.7% of projects set up for it |
| Devin Desktop | 4.0% of projects set up for it |
| OpenAI Codex | 2.0% of projects set up for it |
| OpenCode | 2.2% of projects set up for it |
Share of public repos configured for each agent that list tsup as a dependency.
Install
| Package | npm install tsup |
|---|---|
| Main stacks | TypeScript / JavaScript (114), Rust (9), Next.js (2), Python (1) |
| Example projects | getsentry/MobileBuildMCP, crbnos/carbon, kklas/anchor-client-gen, vybenetwork/x402-client, aeyakovenko/percolator-cli |
Alternatives to tsup
| 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 |