Tsdx

screenshot of Tsdx
react

Zero-config CLI for TypeScript package development

Overview

TSDX is a game-changer for TypeScript package development, offering a streamlined and efficient environment for developers. With its zero-config CLI, it allows you to dive straight into coding without the usual setup woes. The latest version, TSDX 2.0, has been rebuilt using cutting-edge Rust-based tools, significantly enhancing both performance and functionality.

The intuitive interface and modern tooling make TSDX an excellent choice for developers looking to create and maintain TypeScript libraries seamlessly. Whether you're building a basic library or a complex React component library, TSDX covers your needs right out of the box.

Features

  • Zero config: Comes with sensible defaults, enabling developers to start coding immediately without extensive configuration.
  • Modern tooling: Utilizes advanced tools such as bunchee, vitest, oxlint, and oxfmt for an enhanced development experience.
  • Dual ESM/CJS: Automatically generates both ESM and CommonJS module formats, ensuring compatibility across various environments.
  • TypeScript first: Offers full TypeScript support with automatic declaration generation, making it easy to manage types.
  • Lightning fast: Powered by Rust, TSDX boasts linting speeds 50-100 times faster than ESLint and formatting speeds 35 times quicker than Prettier.
  • Bun-native: Employs bun for package management, ensuring a swift and efficient workflow with npm compatibility.
  • Modern Node.js support: Fully compatible with Node.js version 20 and above, phasing out older versions for a more robust environment.
  • Quick start commands: Easily create new projects, build for production, watch files during development, and run tests with simple commands.
react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

rollup
Rollup

RollupJS is a popular and efficient JavaScript module bundler that takes the code from multiple modules and packages them into a single optimized file, minimizing the overall size of the application and improving its performance.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.