Skip to main content
Head-to-Head NPM Comparison

ts-nodevstsx

Detailed package comparison for bundle size, weekly downloads, supply chain security, and license obligations.

Weekly Downloads Leader
tsx59.9M/wk
Security Grade Leader
Equal Rating100/100
TypeScript Ready
ts-node
Specification
ts-nodev10.9.2
tsxv4.23.15
Weekly Downloads25.4M59.9MWinner
Unpacked Size739.6 KB387.6 KB
Security Grade
A+(100/100)
A+(100/100)
Lifecycle Scripts Clean (No scripts) Clean (No scripts)
TypeScript Support Built-in Types (.d.ts)Community @types
License TypeMITPERMISSIVEMITPERMISSIVE
Direct Dependencies131
Active Maintainers21
Last ReleaseDec 8, 2023Sep 20, 2026
Install Commandnpm i ts-nodenpm i tsx
Full Security ReportView ts-node AuditView tsx Audit
Free Castov VS Code Tool

Compare Dependencies Directly in VS Code

Audit supply chain risks, compare lightweight alternative packages, and catch malicious install scripts straight inside your package.json editor.

Download VS Code Extension

Frequently Asked Questions

Which package is more popular, ts-node or tsx?
tsx is currently more popular with higher weekly downloads (59.9M/week) compared to ts-node (25.4M/week).
Which has better supply chain security, ts-node or tsx?
ts-node has a security score of 100/100 (Grade A+), while tsx holds 100/100 (Grade A+). Both packages have equal security standings.
Do ts-node and tsx provide TypeScript definitions?
ts-node includes built-in TypeScript types, while tsx may require community @types definitions.
What licenses do ts-node and tsx use?
ts-node is published under the MIT license (PERMISSIVE), and tsx is licensed under MIT (PERMISSIVE).