TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files


Keywords
esbuild, runtime, node, cjs, commonjs, esm, typescript, cli, loader, watch
License
MIT
Install
npm install tsx@3.6.0

Documentation

tsx

TypeScript Execute (tsx): The easiest way to run TypeScript in Node.js

Documentation    |    Getting started →


Premium sponsor banner

Tip

Build your TypeScript projects?

Try pkgroll—the zero-config package bundler used by tsx!

pkgroll is a thin Rollup wrapper that makes it so simple for your package to support CommonJS, ESM, & TypeScript.

If you love tsx, you'll love pkgroll too!

Sponsors