tsup

Bundle your TypeScript library with no config, powered by esbuild

Bundle TypeScript libraries with almost no config.

When to choose it: Publishing a TS library — esbuild-powered bundling with type declarations and near-zero configuration.

  • + Near zero-config
  • + Very fast (esbuild)
  • + Emits .d.ts
  • - Library-focused, not for apps
  • - Thin abstraction over esbuild
Latest version
8.5.1
Monthly downloads
23,284,612
GitHub stars
11,256
Minified + gzip
79.0 kB
Dependencies
17
License
MIT

Compare tsup with

Data from npm, Bundlephobia and GitHub. Last updated 2026-06-02.