# TSDX

> Zero-config CLI for developing, testing and publishing TypeScript packages

Source: https://talira.ai/catalog/tsdx-e3g7pf3f
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / build / bundlers](https://talira.ai/categories/developer-tools/build/bundlers), [languages / typescript](https://talira.ai/categories/languages/typescript)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Jared Palmer](https://talira.ai/orgs/jared-palmer.md)

TSDX is a zero-config command-line tool for building TypeScript libraries: it scaffolds a package from a basic or React template, then builds dual ESM and CommonJS output with type declarations, runs tests, lints and formats, all with sensible defaults. Version 2.0 is a rewrite on Rust-based tooling: it builds with bunchee, tests with Vitest and lints and formats with oxlint and oxfmt, and it uses Bun for package management.

## Links

- Website: https://tsdx.io/
- GitHub: https://github.com/jaredpalmer/tsdx

## Problems it solves

- publish a TypeScript library to npm without configuring bundlers
- build dual ESM and CommonJS output for my npm package
- start a React component library with tests and builds set up

## Features

- scaffolds a package from a basic or React template
- dual ESM and CommonJS builds with proper exports
- type declaration generation
- tests with Vitest, lint and format with oxlint and oxfmt
- zero config with sensible defaults

## Limitations

- Needs Node.js 20 or newer and uses Bun for package management.[^1]

## Trust

Overall: 0.44 out of 1.
Signals: maintenance 0.27, adoption 0.81, momentum 0.63, community 0.79, backing 0.30, extensibility 0.00.

- latest release v2.0.0 11 months ago
- 11.5k GitHub stars
- 94 contributors
- backed by Jared Palmer

Warnings:

- last commit 11 months ago

## Alternatives

- [tsup](https://talira.ai/catalog/tsup-evezd0pk.md): Zero-config bundler for TypeScript libraries, powered by esbuild
- [tsdown](https://talira.ai/catalog/tsdown-8gyzrn37.md): Library bundler for TypeScript and JavaScript, built on Rolldown
- [Rollup](https://talira.ai/catalog/rollup-3a0frcmv.md): ES module bundler for JavaScript libraries and apps, with tree shaking
- [ng-packagr](https://talira.ai/catalog/ng-packagr-k9vsnnw9.md): Compile and package Angular libraries in Angular Package Format
- [rollup-plugin-dts](https://talira.ai/catalog/rollup-plugin-dts-nkp9e6vz.md): Bundle TypeScript .d.ts declaration files with Rollup
- [Vite](https://talira.ai/catalog/vite-2kbqmjmm.md): Next Generation Frontend Tooling

## Sources

[^1]: https://github.com/jaredpalmer/tsdx/blob/master/README.md (checked 28 Nov 2026)
[^2]: https://github.com/jaredpalmer/tsdx/blob/master/LICENSE (checked 28 Nov 2026)
