Elestia Open Source Ratings
8.0

tsx

A strong pick. 1st of 10 script runners and process managers.

tsx runs TypeScript files in Node.js with no setup. It uses esbuild and has a built-in watch mode. Today it is the strongest third-party choice for this job and has replaced ts-node as the usual pick, though Node's built-in type stripping now covers simple scripts. It does not keep a process alive in production the way PM2 does.

Best for: Node.js developers who want to run or watch TypeScript files, including JSX, path aliases and mixed ESM/CJS, with no config.

WebsiteGitHubnpm

Scores

Overall8.0

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 8.0, likely 7.0 to 8.5

For running and watching TypeScript in Node, tsx is the best third-party pick today. It is ahead of ts-node, which is unmaintained, and of swc-node. Node's native stripping is enough for simple erasable scripts, and you still need tsc for type checks and PM2 for production supervision. Single-maintainer risk and occasional regressions keep it from a 9.

GPT-6.2 Sol: 8.0, likely 6.8 to 8.8

tsx is the strongest pick among the listed peers for new Node.js projects that need to run and watch TypeScript with JSX, path aliases, or mixed module formats. Modern Node.js already covers scripts that use only erasable TypeScript syntax, and PM2 is better suited to services that need automatic crash recovery. The recent release gap and open watcher issues keep tsx below a default for the whole category.

Needed by many6.7

How many developers need a tool for this job?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

Most TypeScript developers on Node need to run .ts scripts, seeds, CLIs or dev servers directly. tsx covers the run and watch parts of the category but not production process management. Node's native stripping now handles part of this need.

GPT-6.2 Sol: 6.4, likely 5.2 to 7.5

Node.js and TypeScript are common enough that direct script execution and file watching serve a large group. Built-in type stripping and watch mode cover simple scripts on recent Node.js releases. tsx is most useful when projects need JSX, path aliases, or TypeScript syntax that requires transformation.

Helps a lot8.1

How well does it do the job for those who need it?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

It is fast and needs no config. It handles ESM/CJS interop, JSX, tsconfig paths, watch mode and a REPL, and it accepts Node flags. Its clear limits are that it does no type checking and does not support decorator metadata. Occasional regressions in minor releases keep it below 9.

GPT-6.2 Sol: 8.1, likely 7.0 to 9.0

Version 4.23.15 combines configurable watch mode, JSX support, and CommonJS and ESM interoperability in a well-documented CLI. An independent benchmark on older builds put tsx ahead of ts-node for startup and behind native Node.js on a simple script. Type checks run separately, and the watcher waits for an edit or manual rerun after an exit. Reports of a macOS watcher leak and a loader regression leave some uncertainty around long sessions and more complex setups.

Holds up over time6.9

Will it still be a good choice in two years?

Claude Opus 5.5: 7.0, likely 5.5 to 8.0

It is active, with 24 releases and 109 commits in the last year and the latest release two months ago. It depends mostly on one maintainer funded by sponsorships, and 55 PRs are open. Node's native type stripping may shrink its role over time, but it is not a successor for JSX, paths or non-erasable syntax.

GPT-6.2 Sol: 6.8, likely 5.4 to 8.1

The project logged 109 commits and 24 releases over the year, well ahead of ts-node's recent activity. September patches addressed Node.js compatibility, followed by about two months without a release while issues and fixes continued to arrive. Releases are credited to one maintainer, and the project relies on donations. Native Node.js now covers some of the same work, adding uncertainty about future demand.

Used widely7.3

How many use it, and is that growing?

Claude Opus 5.5: 8.5, likely 7.5 to 9.0

It had 556M downloads in 4 weeks, up from 61M a year ago. That ratio of about 9x is far above the 4.1 median, and it now has more than twice the downloads of ts-node. Some of these downloads come through other tools that depend on it. Its ecosyste.ms dependent count (18.8k repos) is low next to ts-node and nodemon, which keeps the range wide.

  • npm downloadsLast4Weeks: 556M vs 61M a year ago, about 9x
  • peers ts-node downloadsLast4Weeks: ts-node 240M with no releases since 2023
  • dependents: 18,790 repos and 3,783 packages
  • github stars: 12.2k stars

GPT-6.2 Sol: 6.1, likely 4.8 to 7.4

Four-week downloads grew 9.1× year over year, ahead of the 4.1× catalog median and every listed peer. The index found 18,790 dependent repositories and 3,783 packages, with far fewer repositories than ts-node, nodemon, or jiti. Automated installs and dependencies such as Drizzle Kit and Payload account for some of the volume, so the growth in direct choices is harder to estimate.

Vouched for7.5

Who stands behind it being good?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

The official Node.js docs use tsx as their example for full TypeScript support. Independent guides from LogRocket and Better Stack recommend it, and well-known developers such as Wes Bos say they use it. State of JS does not rate it directly, so there is no survey satisfaction data.

GPT-6.2 Sol: 8.0, likely 6.8 to 9.0

Node.js uses tsx in its TypeScript documentation, Prisma shows it for seed scripts, and Payload integrates its loader into the CLI. Developers report using it for path aliases, and independent benchmarks show a startup tradeoff on older releases. These sources mostly cover development tooling, so confidence is lower for long-running production workloads.

Safe7.2

How safe is it to depend on?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

It has no advisories, an MIT licence and a small dependency tree (esbuild and get-tsconfig). There is no OpenSSF Scorecard, and releases rest mainly on one maintainer, which is a supply-chain concentration risk. esbuild's native binaries add some attack surface.

  • advisories total: 0 advisories
  • scorecard: No Scorecard data
  • npm dependencies: Few direct dependencies
  • npm license: MIT

GPT-6.2 Sol: 6.8, likely 5.5 to 8.1

tsx uses the permissive MIT license, declares one required npm dependency, and publishes through a GitHub Actions workflow that runs tests first. OSV lists zero direct advisories, while an open report identifies an affected copy of Picomatch bundled into watch mode and invisible to npm audit. The reporter found no way to exploit it through tsx, and a fix had yet to ship in the latest release. The missing OpenSSF Scorecard and unverified npm publisher roster widen the range.

Good

  • It works with no config: `npx tsx file.ts` runs ESM, CJS, JSX and tsconfig paths.
  • It is fast because esbuild does the transpiling, and it has a watch mode for reloads.
  • The Node.js docs name it as the example tool for full TypeScript support.
  • Use is growing much faster than the median project (downloads up about 9x in a year), and it has no known advisories.

Bad

  • It does not type-check, so you still need to run tsc.
  • It does not support emitDecoratorMetadata, which hurts NestJS-style dependency injection.
  • One person maintains it and 55 pull requests are open; minor releases have caused regressions, such as the 'module status 3' break in 4.20.
  • Node's built-in type stripping (stable, on by default since 22.18) is taking over the simple-script use case.

The numbers

npm downloads, 4 weeks
556M ×9.1 in a year
GitHub stars
12k
Commits, 12 months
109
npm version
4.23.15 Sept 2026
Versions, 12 months
24
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
None
Licence
MIT

Read on 21 November 2026 from GitHub (privatenumber/tsx), npm (tsx), OSV and the OpenSSF Scorecard.

Script runners and process managers

  1. 8.0tsx
  2. 6.7PM2
  3. 6.3concurrently
  4. 6.0nodemon
  5. 5.6jiti
  6. 5.0Wireit
  7. 4.9npm-run-all2
  8. 4.8swc-node
  9. 3.3ts-node
  10. 2.6forever
Compare all 10 on six scores