tsdown
Elegant bundler for TypeScript libraries with minimal configuration.
Build tools and bundlers npm MIT
Used in agent projects
36
0.3% of 12,697 public repos built with AI coding agents
Rank in build tools and bundlers
#50 of 81
by use in those projects
Downloads
4.2M
npm, last 7 days, tsdown
GitHub stars
4,294
last push Oct 10, 2026
How tsdown is used
tsdown is a dependency in 36 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.3%), #50 of 81 in build tools and bundlers. The most used alternative there is Vite. Projects that use it most often also use Vitest (63.9%), TypeScript (100.0%), tsx (44.4%). It is more common in projects set up for Kiro (4.1%) than for GitHub Copilot (0.3%).
Often used with tsdown
| Vitest | 63.9% of tsdown projects · 5.2× more than average |
|---|---|
| TypeScript | 100.0% of tsdown projects · 1.8× more than average |
| tsx | 44.4% of tsdown projects · 4.5× more than average |
| Changesets | 38.9% of tsdown projects · 33.8× more than average |
| Biome | 38.9% of tsdown projects · 11.1× more than average |
| Turborepo | 33.3% of tsdown projects · 10.6× more than average |
| oxfmt | 30.6% of tsdown projects · 31.0× more than average |
| oxlint | 30.6% of tsdown projects · 18.8× more than average |
By coding agent
| Claude Code | 0.8% of projects set up for it |
|---|---|
| Cursor | 0.6% of projects set up for it |
| GitHub Copilot | 0.3% of projects set up for it |
| Gemini CLI | 1.6% of projects set up for it |
| Kiro | 4.1% of projects set up for it |
| OpenAI Codex | 1.1% of projects set up for it |
Share of public repos configured for each agent that list tsdown as a dependency.
Install
| Package | npm install tsdown |
|---|---|
| Main stacks | TypeScript / JavaScript (33), .NET (2), Rust (1) |
| Example projects | Nexus-Mods/Vortex, getsentry/toolkit, miantiao-me/bm.md, NeoLi00/memX, lirantal/tokenu |
Alternatives to tsdown
| 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 |