ts-node
Keep, but not for new work. 9th of 10 script runners and process managers.
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
Overall3.3
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 2.5, likely 1.5 to 4.0
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.
- github latestRelease: v10.9.2 from December 2023
- peers tsx: Actively maintained, with 109 commits last year and fast growth
- nodejs.org/api/typescript.md: Native type stripping is stable and covers simple scripts
GPT-6.2 Sol: 4.0, likely 3.0 to 5.2
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.
- github latestRelease and commitsLastYear: Last stable release in December 2023 and zero commits in the past year.
- shoppercove.com/blog/tsx-vs-ts-node: tsx ran the TypeScript 7.0.2 test script and ts-node 10.9.2 failed at startup.
- tsx.hirok.io/watch-mode: tsx includes file watching and restarts on changes.
- pm2.keymetrics.io/docs/usage/restart-strategies: PM2 restarts applications on crashes by default.
Needed by many5.5
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.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.
- category.job: The category also covers restarting and keeping processes alive, which ts-node does not do
- nodejs.org/api/typescript.md: Node strips erasable TypeScript natively and points to third-party tools for the rest
GPT-6.2 Sol: 5.0, likely 3.9 to 6.3
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.
- 2025.stateofjs.com/en-US/usage: About 40% of respondents to the language balance question write only TypeScript.
- nodejs.org/download/release/v24.12.0/docs/api/typescript.html: Built-in type stripping runs files with erasable syntax and ignores tsconfig.json.
- typestrong.org/ts-node/docs: Documents the Node.js runner, compiler settings, type checking, and REPL.
Helps a lot4.2
How well does it do the job for those who need it?
Claude Opus 5.5: 3.5, likely 2.5 to 5.0
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.
- prosopo.io/blog/its-time-drop-ts-node: ERR_UNKNOWN_FILE_EXTENSION failures; 2-4 s cold start vs under 300 ms for tsx
- github-redirect.dependabot.com/TypeStrong/ts-node/issues/2100: Open issue: unknown .ts extension on newer Node versions
- bluesky top posts: Users report ERR_REQUIRE_ESM failures and that it barely works on recent Node
- betterstack.com/community/guides/scaling-nodejs/ts-node-alternatives: Comparison favours faster esbuild-based runners
GPT-6.2 Sol: 4.8, likely 3.7 to 6.1
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.
- typestrong.org/ts-node/docs: Documents source maps, optional type checking, and CLI and tool integration.
- typestrong.org/ts-node/docs/imports: Documents the CommonJS setup and warns against production use of the ESM loader.
- github.com/TypeStrong/ts-node/issues/2174: Users reproduced the startup failure on TypeScript 7.0.2 and confirmed 6.0.3 runs.
- typestrong.org/ts-node/docs/recipes/watching-and-restarting: File watching and restarts are delegated to other tools.
- shoppercove.com/blog/tsx-vs-ts-node: On one workload, tsx beat type-checking mode and ts-node’s transpile-only mode beat tsx.
Holds up over time1.9
Will it still be a good choice in two years?
Claude Opus 5.5: 1.5, likely 0.5 to 3.0
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.
- github commitsLastYear / releasesLastYear: 0 commits and 0 releases; latest release December 2023
- scorecard Maintained: Maintained check scores 0
- snyk.io/advisor/npm-package/ts-node-maintained: A community fork exists to carry on maintenance
- pkgpulse.com/guides/nodejs-native-typescript-support-toolchain-2026: Describes ts-node as effectively in maintenance mode
GPT-6.2 Sol: 2.2, likely 1.1 to 3.5
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.
- github commitsLastYear, releasesLastYear, latestRelease: Zero commits and releases in the past year. Latest stable release was December 2023.
- github.com/TypeStrong/ts-node/releases: Two GitHub accounts published the most recent stable releases.
- github.com/TypeStrong/ts-node/issues/2077: The v11 beta was announced in October 2023 and the release discussion remains open.
- github.com/TypeStrong/ts-node/issues/2174: TypeScript 7.0.2 compatibility reports remain open.
- peers tsx commitsLastYear and latestPublishedAt: tsx recorded 109 commits in the past year and published in September 2026.
Used widely6.1
How many use it, and is that growing?
Claude Opus 5.5: 5.5, likely 4.5 to 7.0
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.
- npm downloadsLast4Weeks vs downloadsSame4WeeksYearAgo: 239.7M vs 135.0M, ratio 1.78 against a median of 4.1
- dependents.repos: 883,542 repositories, mostly legacy use
- peers tsx downloads: tsx grew about 9x in a year and now has more than twice the downloads
GPT-6.2 Sol: 6.6, likely 5.4 to 7.8
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.
- dependents repos and packages: 883,542 repositories and 120,593 packages in the ecosyste.ms index.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio, peers tsx: About 240 million downloads versus 135 million last year. tsx grew much faster.
- agentgid.com/tools/compare/tsx-vs-ts-node: In the November 21 scan, ts-node appeared in 1.2% of newer tool-using repos versus 8.8% of older ones.
Vouched for5.0
Who stands behind it being good?
Claude Opus 5.5: 4.0, likely 3.0 to 5.5
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.
- nodejs.org/fr/learn/typescript/run: Node.js learn docs still list ts-node as a runner
- prosopo.io/blog/its-time-drop-ts-node: Independent post recommends dropping it for tsx
- hackerNews: Only recent story is about a replacement for it
GPT-6.2 Sol: 6.0, likely 4.8 to 7.2
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.
- jestjs.io/docs/configuration: Documents ts-node as the default loader for TypeScript configuration files.
- typeorm.io/docs/migrations/executing: Documents CommonJS and ESM commands for running TypeScript migrations with ts-node.
- sebastian-staffa.eu/posts/nodejs-native-ts-benchmark: Independent tests measured slower startup than tsx for both tested scripts.
- shoppercove.com/blog/tsx-vs-ts-node: A 2026 benchmark found competitive transpile-only speed and reproduced the TypeScript 7 failure.
Safe5.7
How safe is it to depend on?
Claude Opus 5.5: 5.5, likely 4.5 to 7.0
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.
- advisories.total: 0 advisories
- scorecard score: 4.6, with 0 on Maintained, Branch-Protection and Pinned-Dependencies
- npm dependencies: 13 direct dependencies
GPT-6.2 Sol: 5.9, likely 4.6 to 7.2
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.
- advisories total and npm license and dependencies: Zero direct package advisories, MIT license, and 13 direct dependencies.
- scorecard score and checks: 4.6 overall, security policy 10, code review 1, branch protection and dependency pinning 0.
- github.com/TypeStrong/ts-node/blob/v10.9.2/package.json: The released manifest declares diff ^4.0.1.
- github.com/advisories/GHSA-73rr-hh4g-fpgx: The low-severity diff advisory lists 4.0.4 as patched on the 4.x line.
- github.com/TypeStrong/ts-node/releases/tag/v10.9.2: GitHub verified the release commit signature.
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
- npm downloads, 4 weeks
- 240M +78% in a year
- GitHub stars
- 13k
- Commits, 12 months
- 0
- npm version
- 10.9.2 Dec 2023
- Versions, 12 months
- 0
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 4.6 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (TypeStrong/ts-node), npm (ts-node), OSV and the OpenSSF Scorecard.