tsdown
tsdown: A focused, open-source bundler for publishing TypeScript and JavaScript packages. Ranked #11 of 27 in JavaScript Build Tools by our editors (8.1/10); pricing: Free plan; best for typeScript package publishing.
At a glance
- Editor score8.1 / 10
- PricingFree plan
- Best forTypeScript package publishing
- Free planYes
- Paid fromFree
- TypeScript supportYes
- Facts checked20 Sep 2026

Where it wins
- Generates TypeScript declarations automatically
- Supports ESM, CJS, IIFE, and UMD outputs
- Includes tree shaking, source maps, and code splitting
Where it doesn't
- Focused on library workflows rather than general application builds
- Requires a Node.js-based build environment
- Plugin support varies across Rolldown, Rollup, Unplugin, and Vite
Our verdict on tsdown
tsdown is an open-source command-line bundler for TypeScript and JavaScript libraries. It is aimed at developers publishing reusable packages, from small utilities to larger libraries, with configuration designed to reduce build-tool setup. The tool runs as a development dependency in a Node.js-based build environment and is powered by Rolldown. Its library-oriented scope makes it a natural fit for package authors who need consistent output formats and generated declarations.
The build feature set covers TypeScript and JavaScript bundling, automatic TypeScript declaration generation, and ESM, CJS, IIFE, and UMD outputs. Tree shaking is enabled by default, while separate, inline, and hidden source maps support different debugging and distribution needs. tsdown also provides code splitting, JSON and WebAssembly asset processing, aliases, minification, externalization, and watch mode for automatic rebuilds. These capabilities give package maintainers control over both published artifacts and the development build cycle.
tsdown is free and open source under the MIT License. Its integration surface includes Rolldown, Rollup, Unplugin, and some Vite plugin support, with a plugin API listed among its category capabilities. The project documentation displays version 0.23.0. Choose tsdown if your priority is publishing TypeScript or JavaScript libraries with declarations, multiple module formats, and package-focused bundling. An application workflow that depends heavily on broader platform-specific tooling may be better served by a more general build system.
Your product? Our editors can test tsdown in depth and publish a review, labelled as paid · from $149/mo →
tsdown pricing
tsdown fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| TypeScript support | Yes |
| Code splitting | Yes |
| Tree shaking | Yes |
| Source maps | Yes |
| Plugin API | Yes |
| Remote build cache | Not verified |
| Deployment | Self-hosted |
| Support | Docs |
| Built for | Solo, Small business, Mid-market (editorial estimate) |
| Pricing | Free plan |
| Website | tsdown.dev |
| Facts checked | 20 Sep 2026 |
Alternatives to tsdown
- ViteA free, open-source choice for fast development and optimized production builds.9.4
- webpackA free, open-source choice for complex builds that need detailed bundling control.9.3
- esbuildA free, open-source build tool for fast JavaScript and TypeScript workflows.9.2
Used tsdown? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used tsdown for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
tsdown is listed in our JavaScript Build Tools directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/tsdown/"><img src="https://www.itechguides.com/best/badge/tsdown.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update



