# egoist/tsup

The simplest and fastest way to bundle your TypeScript libraries.

Repository: https://github.com/egoist/tsup
Canonical: https://ross.abutalabs.com/products/tsup
Homepage: https://tsup.egoist.dev
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-07-20T03:11:55+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 44, longevity 100
- inputs: {"age_days": 2358, "days_push": 44, "days_rel": 294, "gap_med": 34.0, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11291, forks 273 (observed 2026-08-28T04:10:46.666024+00:00)

## What it is
tsup is a zero-config bundler for TypeScript libraries, powered by esbuild. It bundles .ts, .tsx, .js, ., and .mjs files into distributable output with a simple CLI.

## Use cases
- bundle a TypeScript library with no config
- build multiple entry points for an npm package
- generate dist output for publishing to npm
- quickly compile ts/tsx files to js
- replace a complex rollup setup with a simple bundler

## When to choose
- you want fast, zero-config bundling of a TypeScript library
- you need to build multiple entry points quickly
- you prefer esbuild speed over rollup/webpack complexity

## When to avoid
- you need actively maintained tooling - the project is no longer maintained and recommends tsdown
- you need advanced bundling features like CSS (experimental) or complex plugin ecosystems
- you're bundling a full web application rather than a library

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: build-tool, developer-tools
- domain: developer-tools, web-development
- platform: cli, cross-platform
- tags: bundler, esbuild, typescript, zero-config, library-packaging, javascript, nodejs

## Member repositories
- egoist/tsup (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:46.666024+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:15:58.907837+00:00, confidence not recorded.
  - readme: https://github.com/egoist/tsup (fetched 2026-08-28T04:10:46.666024+00:00, sha e42ceee5ae41)
  - homepage: https://tsup.egoist.dev (fetched 2026-08-29T08:14:59.240657+00:00, sha a72c52df5bf3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
