ts-node
TypeScript execution environment for Node.js with source map support.
Languages, types and runtimes npm MIT
Used in agent projects
865
6.8% of 12,697 public repos built with AI coding agents
Rank in languages, types and runtimes
#3 of 18
by use in those projects
Downloads
45.6M
npm, last 7 days, ts-node
GitHub stars
13.1K
last push Jul 18, 2024
How ts-node is used
ts-node is a dependency in 865 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (6.8%), #3 of 18 in languages, types and runtimes. The most used alternative there is TypeScript. Projects that use it most often also use TypeScript (96.0%), dotenv (50.8%), Solana Web3.js (44.3%). It is more common in projects set up for Devin Desktop (9.1%) than for Claude Code (4.7%).
Often used with ts-node
| TypeScript | 96.0% of ts-node projects · 1.7× more than average |
|---|---|
| dotenv | 50.8% of ts-node projects · 3.2× more than average |
| Solana Web3.js | 44.3% of ts-node projects · 2.7× more than average |
| Jest | 27.3% of ts-node projects · 4.9× more than average |
| Prettier | 39.3% of ts-node projects · 2.3× more than average |
| Solana SPL Token | 24.4% of ts-node projects · 3.4× more than average |
| Axios | 28.3% of ts-node projects · 2.8× more than average |
| ESLint | 46.7% of ts-node projects |
By coding agent
| Cursor | 6.6% of projects set up for it |
|---|---|
| Claude Code | 4.7% of projects set up for it |
| GitHub Copilot | 5.1% of projects set up for it |
| OpenAI Codex | 6.0% of projects set up for it |
| Devin Desktop | 9.1% of projects set up for it |
| Gemini CLI | 5.5% of projects set up for it |
| OpenCode | 5.3% of projects set up for it |
| Roo Code | 8.8% of projects set up for it |
Share of public repos configured for each agent that list ts-node as a dependency.
Install
| Package | npm install ts-node |
|---|---|
| Main stacks | TypeScript / JavaScript (617), Next.js (156), Rust (58), Python (21) |
| Example projects | gitpod-io/gitpod, ant-design/ant-design-web3, veithly/BountyBoard, ngxtension/ngxtension-platform, OfficeDev/microsoft-365-agents-toolkit |
Alternatives to ts-node
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| TypeScript npm Language for application-scale JavaScript development with static type checking. |
7,092 (55.9%) | 305M | 111K | Apache-2.0 |
| tsx npm Node.js enhanced with esbuild to run TypeScript and ESM files. |
1,262 (9.9%) | 96.8M | 12.2K | MIT |
| vue-tsc npm TypeScript type checker for Vue.js single-file components. |
111 (0.9%) | 6.5M | 6,724 | MIT |
| tsconfig-paths npm Module resolution utility that loads Node.js modules according to TypeScript path mappings. |
86 (0.7%) | 113M | 1,908 | MIT |
| Cloudflare Workers Types npm TypeScript type definitions for Cloudflare Workers runtime. |
84 (0.7%) | 12.1M | 8,888 | MIT OR Apache-2.0 |
| jiti npm Runtime TypeScript and ESM support for Node.js without build steps. |
84 (0.7%) | 19M | 2,973 | MIT |
| CFFI pypi Foreign Function Interface for calling C code from Python. |
84 (0.7%) | 248M | 280 | — |
| pycparser pypi C language parser written in pure Python for language tools. |
83 (0.7%) | 23M | 3,575 | — |