tsup
Keep, but not for new work. 10th of 10 build tools.
tsup is an esbuild-based, zero-config bundler for TypeScript libraries. Its README now says it is "not actively maintained" and points users to tsdown. It still works and many projects install it, but for new work tsdown, from the Rolldown/Vite team, is the better choice.
Best for: Existing library repos that already build with tsup and are not ready to migrate yet.
Scores
Overall3.5
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 3.0, likely 2.0 to 4.0
tsup still builds libraries well and many projects use it. Its maintainer has officially stepped back and recommends tsdown, which does the same job with better ESM and type output and has an active team. Keep tsup where it already runs, but start new library projects with tsdown.
- github.com/egoist/tsup: Deprecation-style notice recommending tsdown
- main.tsdown.dev/guide/migrate-from-tsup: Ready migration path to the successor
- bluesky top posts: Users note it is unmaintained and has TS version issues
GPT-6.2 Sol: 4.0, likely 3.0 to 5.2
Keeping a working tsup build is reasonable, especially if it relies on esbuild plugins. For new TypeScript libraries, tsdown is the stronger choice given tsup's reduced maintenance and declaration build problems. Vite is the stronger choice for front-end apps that need a dev server. The October release and the existing user base leave room for tsup to remain useful in its niche.
- github.com/egoist/tsup: The project's own maintenance notice recommends tsdown.
- github.com/egoist/tsup/releases/tag/v9.0.0: The current stable release fixes a compiler compatibility issue.
- github.com/egoist/tsup/issues/1438: A release-specific declaration regression remains open.
- tsdown.dev/guide/migrate-from-tsup: The successor covers library builds and documents esbuild plugin migration differences.
- vite.dev/guide: Vite provides the app development server and build pipeline.
Needed by many3.7
How many developers need a tool for this job?
Claude Opus 5.5: 3.5, likely 2.5 to 4.5
tsup does not bundle or serve apps. It builds TypeScript libraries and CLIs for publishing. That job matters to package and monorepo authors, which is a clear niche within the build tools category.
- github description: "bundle your TypeScript libraries" names a library-only scope
- alan.norbauer.com/articles/tsdown-bundler: Used for monorepo package builds
GPT-6.2 Sol: 3.9, likely 2.8 to 5.0
Bundling published libraries and CLIs is a clear niche across frameworks. A tool such as Vite serves a wider audience by handling app development and production builds. The share of teams that need a separate library bundler is hard to pin down.
- github.com/egoist/tsup: Framework-agnostic library bundling with experimental CSS support.
- vite.dev/guide: Vite covers the app development server and production build workflow.
Helps a lot5.5
How well does it do the job for those who need it?
Claude Opus 5.5: 4.5, likely 3.5 to 5.5
JavaScript builds are fast and easy to set up. Type generation is the weak spot: it is slow, marked experimental, and it breaks with new TypeScript versions. ESM output also needs workarounds. tsdown does the same job with better ESM and dts support, and it offers a migration tool.
- alan.norbauer.com/articles/tsdown-bundler: Reports ESM gaps and slow, experimental type generation in tsup
- bluesky top posts: Users report TS6 baseUrl errors and ask whether it works with TS7
- github.com/egoist/tsup/releases: v9 only removed baseUrl and upgraded dependencies; no new features
GPT-6.2 Sol: 6.4, likely 5.3 to 7.5
The simple CLI and typed config make routine ESM and CommonJS builds easy to set up, including with a coding agent. Version 9 fixed the TypeScript 6 baseUrl error, but native TypeScript 7.0 still complicates declaration builds and a v9 user reported running out of memory with dts.resolve. Independent timings cover specific v8 workloads, leaving v9 performance across larger builds uncertain.
- jsdocs.io/package/tsup: The published v9 types document config, output formats and plugin options.
- github.com/egoist/tsup/releases/tag/v9.0.0: The stable release removed the injected baseUrl and exposed the Plugin type.
- github.com/coder/ai-sdk/blob/main/AGENTS.md: A downstream v9 build aliases TypeScript 6 for declarations while type-checking with TypeScript 7.
- github.com/egoist/tsup/issues/1438: A user measured a v9 memory regression when resolving external declarations.
- warefeats.com/posts/2026-08-30-js-bundlers-vite-vs-esbuild-vs-tsup: In one cold library build without declarations, v8 trailed Vite and direct esbuild.
Holds up over time2.5
Will it still be a good choice in two years?
Claude Opus 5.5: 2.0, likely 1.0 to 3.0
The README says the project is not actively maintained and directs users to tsdown. Last year saw 14 commits and one release, v9.0.0, which was mostly upkeep. The ecosystem is moving to tsdown, and tsdown's lead developer was a major tsup contributor. Occasional patch releases keep the score above zero.
- github.com/egoist/tsup: README warns it is not actively maintained and recommends tsdown
- github commitsLastYear / releasesLastYear: 14 commits and 1 release in the last year
- main.tsdown.dev/guide/migrate-from-tsup: Official migration path to tsdown
GPT-6.2 Sol: 2.9, likely 1.8 to 4.0
The README sends users to tsdown, and tsup recorded 14 commits and one release in a year, far below the pace of the listed peers. October's v9 release shows fixes can still ship, though the TypeScript 6 fix took months and the upgrade raised the Node requirement. The pace of future releases and who will sustain them remain unclear.
- github.com/egoist/tsup: The maintenance notice points new users to tsdown.
- github.commitsLastYear, github.releasesLastYear, github.openIssues, github.openPullRequests, peers: One release and 14 commits, with 354 open issues and 46 open pull requests.
- github.com/egoist/tsup/issues/1389: The TypeScript 6 declaration issue closed in October after months of reports.
- github.com/egoist/tsup/releases/tag/v9.0.0: October release updated dependencies and raised the Node floor.
Used widely5.8
How many use it, and is that growing?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Downloads were about 51M over the last 4 weeks, against 9.8M a year earlier. That ratio of 5.2 is above the 4.1 median. 23k dependent packages and 9.5k dependent repos show wide real use. Most of it is installed codebases and templates rather than new choices, and projects are migrating away, so the trend will likely turn.
- npm downloadsLast4Weeks: 51M, up from 9.8M a year ago
- dependents: 23,096 packages and 9,462 repos
- github.com/SmooAI/file/pull/57: Example of a 2026 migration from tsup to tsdown
GPT-6.2 Sol: 5.5, likely 4.5 to 6.8
Ecosyste.ms found 9,462 dependent repositories and 23,096 dependent packages, a substantial base for a library bundler and well below Vite's tracked repo count. Four-week downloads rose from 9.8 million to 51.0 million, or 5.2× against the catalog median of 4.1×. Most installs in npm's version breakdown still went to v8, and repeated CI installs leave the pace of new adoption uncertain.
- dependents, peers: The indexed footprint trails Vite and Parcel by repository count.
- npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio: The year-over-year download ratio is above the catalog baseline.
- github.stars, bluesky.posts, peers: About 11,300 stars and five Bluesky posts, with much more attention for Vite.
- npmjs.com/package/tsup?activeTab=versions: One week showed 8.75 million installs for v8.5.1 and 1.41 million for v9.
Vouched for5.0
Who stands behind it being good?
Claude Opus 5.5: 4.0, likely 3.0 to 5.5
Many open-source libraries have used it for years, and the State of JS build tools survey lists it. Current independent write-ups mostly describe leaving it for tsdown, and its own maintainer recommends doing so. Endorsements are old and fading.
- 2025.stateofjs.com/en-US/libraries/build-tools: Listed in the survey; tsdown appears as a rising write-in
- alan.norbauer.com/articles/tsdown-bundler: Independent write-up on switching away
- hackerNews stories: No recent HN discussion
GPT-6.2 Sol: 6.0, likely 4.9 to 7.2
State of JavaScript 2025 reported 85% satisfaction, and shadcn still uses v8 to build its CLI. The data-cap maintainers report shipping with v9 and verifying their public API. Redux Toolkit has moved to tsdown, and most independent measurements cover v8, so endorsement of the current release is thinner.
- 2025.stateofjs.com/en-US/libraries: The survey reports 85% satisfaction for tsup.
- github.com/shadcn-ui/ui/blob/main/packages/shadcn/package.json: The shadcn CLI build and watch scripts still use tsup v8.
- github.com/MaverickCER/data-cap/blob/main/CHANGELOG.md: The data-cap team shipped a v9 build and checked its API contract.
- github.com/reduxjs/redux-toolkit/releases/tag/v2.13.0: Redux Toolkit switched to tsdown for its published package.
- github.com/modelcontextprotocol/inspector/blob/main/docs/tsdown-migration.md: Inspector measured a faster, smaller CLI build after leaving tsup v8.
Safe5.6
How safe is it to depend on?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
Only one low-severity DOM clobbering advisory is on record, and it was fixed in 8.5.1. The license is MIT. The OpenSSF Scorecard is a weak 4.9, with no security policy and poor token permissions and code review. There are 17 dependencies and essentially one releaser. With no active maintenance, future issues may be fixed slowly. It is a dev dependency, which limits runtime exposure.
- advisories: One LOW advisory, GHSA-3mv9-4h5g-vhg3
- scorecard score: 4.9; Security-Policy, Token-Permissions and SAST all score 0
- npm dependencies: 17 direct dependencies
GPT-6.2 Sol: 5.6, likely 4.4 to 6.8
tsup has a permissive MIT license and 17 direct dependencies. Its only listed advisory is a low-severity DOM clobbering issue, and v8.5.1 shipped the fix about eight months after disclosure. Version 9 has a verified Git tag and a staged CI publish workflow that references a mutable branch. Weak Scorecard results for token permissions and review, a missing security policy, and uncertainty about who can approve releases leave meaningful supply-chain risk.
- npm.dependencies, npm.license, advisories, scorecard.checks: MIT, 17 direct dependencies, one listed advisory, and weak workflow and review checks.
- github.com/advisories/GHSA-3mv9-4h5g-vhg3: GitHub records the March 2025 disclosure and leaves its patched-version field blank.
- github.com/egoist/tsup/pull/1314: The fix for the same issue merged in November 2025.
- github.com/egoist/tsup/releases/tag/v8.5.1: The release shipped the fix.
- github.com/egoist/tsup/releases/tag/v9.0.0: GitHub verifies the v9 tag and commit signatures.
- raw.githubusercontent.com/egoist/tsup/v9.0.0/.github/workflows/release.yml: The tag-triggered workflow stages npm releases and calls a reusable workflow at main.
Good
- You can build a library to ESM and CJS with almost no configuration.
- esbuild makes JavaScript output builds very fast.
- Many tutorials, templates and existing packages use it, so AI agents write correct configs for it.
- It is MIT-licensed and has only one low-severity advisory on record.
Bad
- The README says it is not actively maintained and recommends migrating to tsdown.
- Type declaration output (dts / experimentalDts) is slow and fragile, and it breaks with newer TypeScript versions (baseUrl under TS 6, open questions about TS 7).
- ESM-first output has gaps, such as missing file extensions, that need plugins or workarounds.
- Releases are rare (one release and 14 commits in the last year), and 354 issues are open.
The numbers
- npm downloads, 4 weeks
- 51M ×5.2 in a year
- GitHub stars
- 11k
- Commits, 12 months
- 14
- npm version
- 9.0.0 Oct 2026
- Versions, 12 months
- 1
- Advisories, 24 months
- 1 of 1 ever
- OpenSSF Scorecard
- 4.9 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (egoist/tsup), npm (tsup), OSV and the OpenSSF Scorecard.