# ts-node: 3.3 out of 10

Keep, but not for new work. 9th of 10 in [Script runners and process managers](https://elestia.ai/opensource/script-runners/index.md).

ts-node runs TypeScript in Node.js and can type-check the code while it runs. It has had no release since December 2023 and no commits in the past year. Its ESM loader has open breakages on current Node versions. Keep it where it already works, but for new projects pick tsx, or Node's built-in type stripping for simple scripts.

**Best for:** Existing CommonJS codebases and tools (such as older Jest, TypeORM or Mocha setups) that already depend on ts-node and its type-checking at run time.

## Scores

- **Overall: 3.3** (likely 2.3 to 4.6)
  - Claude Opus 5.5 (2.5): ts-node is stalled: no releases for almost three years, and it breaks with ESM on current Node. tsx and Node's native type stripping now do its job faster and with less setup. It stays useful only where its type-checking at run time or decorator metadata is needed, or where existing tooling already relies on it. Do not start new work with it.
  - GPT-6.2 Sol (4.0): ts-node still earns its place in existing CommonJS tooling that uses its require hook or type checking at launch. The long release gap and TypeScript 7.0.2 failure make it a weak choice for new projects. Choose tsx for new scripts and file watching, or PM2 when the main job is restarting a service after a crash. The upper end of the range reflects projects that can stay on a compatible compiler and already rely on a ts-node integration.
- **Needed by many: 5.5** (likely 4.5 to 6.7)
  - Claude Opus 5.5 (6.0): Running TypeScript directly in Node is a common need for anyone writing backends, scripts or tooling in TypeScript. ts-node serves only Node.js and only the run part of the category's job, with no watching or process management. Node's built-in type stripping now covers simple cases, which shrinks the need somewhat.
  - GPT-6.2 Sol (5.0): Running TypeScript scripts, config files, and migrations is a common need in Node.js projects. Recent Node.js versions handle simple TypeScript files directly, leaving more reason to use ts-node when scripts need compiler settings or type checking at launch. The survey measures TypeScript use, so the share that needs those features remains uncertain.
- **Helps a lot: 4.2** (likely 3.1 to 5.6)
  - Claude Opus 5.5 (3.5): Its one distinct feature is type-checking at run time, and it handles CommonJS with full tsconfig support. ESM on Node 20 and later fails in common setups, and the main issue is still open. Cold starts are slow next to tsx and swc-node. tsx does the same job better for most users.
  - GPT-6.2 Sol (4.8): The documented CommonJS setup is straightforward for developers and coding agents, and it gives compiler diagnostics and source-mapped errors. TypeScript 7.0.2 fails before execution, and native ESM setup is sensitive to the Node.js version. File watching and process supervision require another tool. Independent measurements show slower startup with type checking enabled and more competitive timings in transpile-only mode, so performance depends on the workload and settings.
- **Holds up over time: 1.9** (likely 0.8 to 3.3)
  - Claude Opus 5.5 (1.5): There have been no commits or releases in the last year, and the last push to the repository was in July 2024. The 11.0 beta from 2023 never shipped, and a community fork (ts-node-maintained) exists because upstream stalled. The ecosystem is moving to tsx and native type stripping, so the project is likely to slip further behind new Node versions.
  - GPT-6.2 Sol (2.2): The last stable release was in December 2023, and the repository recorded zero commits and releases over the past year. The v11 beta dates to 2023, and the TypeScript 7 compatibility issue remains open while tsx is still releasing updates. Past releases came from two GitHub accounts, and current release ownership and funding are unclear.
- **Used widely: 6.1** (likely 5.0 to 7.4)
  - Claude Opus 5.5 (5.5): The installed base is huge: 240M downloads in 4 weeks and about 884k dependent repositories. Much of that comes from old projects and from tools that install it automatically. Its download ratio of 1.78 is far below the 4.1 median, and tsx went from 61M to 556M over the same year, so ts-node is losing ground fast among new choices.
  - GPT-6.2 Sol (6.6): ecosyste.ms found about 884,000 dependent repositories and 121,000 dependent npm packages, a large installed base among the peers. Downloads rose 1.78× year over year, well below the 4.1× catalog median and tsx’s 9.06×. A scan of public repositories configured for coding agents also found ts-node much less often in newer repositories. The scan covers a specific audience, and repeated installs and toolchain use make npm totals a poor measure of fresh choices.
- **Vouched for: 5.0** (likely 3.9 to 6.4)
  - Claude Opus 5.5 (4.0): Node's own docs and many tools such as Jest have long documented it, and it has a large legacy footprint. Current independent write-ups, however, mostly recommend moving away from it. We found no current survey or benchmark that favours it.
  - GPT-6.2 Sol (6.0): Jest documents ts-node as its default loader for TypeScript configuration, and TypeORM documents it for running TypeScript migrations. Those are established integrations with specific jobs. Independent benchmarks cover only a few workloads, and current evidence of production use and developer satisfaction is limited.
- **Safe: 5.7** (likely 4.6 to 7.1)
  - Claude Opus 5.5 (5.5): There are no known advisories, and the licence is MIT. It pulls in 13 dependencies. The Scorecard is weak at 4.6, with no branch protection, no code review, no pinned dependencies and a Maintained score of 0. Because it is unmaintained, any future issue in it or its dependencies may never be fixed upstream.
  - GPT-6.2 Sol (5.9): The package has a permissive MIT license, a security policy, and zero direct advisories in the OSV snapshot. It has 13 direct dependencies, and its declared diff version range allows the patched 4.0.4 release, though older lockfiles can retain an affected version. OpenSSF Scorecard gave it 4.6, with weak code review, branch protection, and dependency pinning checks. GitHub verifies the latest release commit signature, while npm publishing controls and current publisher access remain unclear.

## Good

- It can type-check code while running it, which tsx and Node's type stripping do not do.
- It reads tsconfig.json fully and supports emitDecoratorMetadata, which matters for decorator-heavy frameworks.
- It is very widely installed and many tools know how to use it, including Jest's TypeScript config loading.
- It has an MIT licence and no known security advisories.

## Bad

- There has been no release since v10.9.2 (December 2023), no commits in the last year, and the 11.0 beta has stalled.
- ESM support is broken or fragile on Node 20 and later, with long-open ERR_UNKNOWN_FILE_EXTENSION issues.
- Cold starts are slow compared with esbuild- or swc-based runners unless you turn on transpile-only mode.
- It has no watch or restart mode of its own, so you need nodemon or a similar tool alongside it.

## The numbers

- Downloads, 4 weeks: 240M
- In a year: +78%
- GitHub stars: 13k
- Commits, 12 months: 0
- Last npm release: Dec 2023
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/TypeStrong/ts-node
- npm: https://www.npmjs.com/package/ts-node

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
