Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

tsx

Node.js enhanced with esbuild to run TypeScript and ESM files.

Languages, types and runtimes npm MIT

Used in agent projects
1,262
9.9% of 12,697 public repos built with AI coding agents
Rank in languages, types and runtimes
#2 of 18
by use in those projects
Downloads
96.8M
npm, last 7 days, tsx
GitHub stars
12.2K
last push Sep 25, 2026

How tsx is used

tsx is a dependency in 1,262 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (9.9%), #2 of 18 in languages, types and runtimes. The most used alternative there is TypeScript. Projects that use it most often also use TypeScript (94.5%), Zod (50.8%), Vitest (41.3%). It is more common in projects set up for Kiro (24.7%) than for OpenCode (12.2%).

Often used with tsx

TypeScript94.5% of tsx projects · 1.7× more than average
Zod50.8% of tsx projects · 3.0× more than average
Vitest41.3% of tsx projects · 3.4× more than average
dotenv45.5% of tsx projects · 2.9× more than average
Model Context Protocol SDK (JavaScript)18.2% of tsx projects · 3.8× more than average
ESLint49.2% of tsx projects
Express20.3% of tsx projects · 3.1× more than average
React50.6% of tsx projects

By coding agent

Claude Code15.5% of projects set up for it
Cursor15.9% of projects set up for it
GitHub Copilot13.0% of projects set up for it
OpenAI Codex18.5% of projects set up for it
Gemini CLI17.4% of projects set up for it
Devin Desktop16.8% of projects set up for it
OpenCode12.2% of projects set up for it
Kiro24.7% of projects set up for it

Share of public repos configured for each agent that list tsx as a dependency.

Install

Packagenpm install tsx
Main stacksTypeScript / JavaScript (843), Next.js (349), Python (33), Rust (28)
Example projectsthedaviddias/Front-End-Checklist, apify/apify-mcp-server, NG-ZORRO/ng-zorro-antd, getsentry/MobileBuildMCP, crbnos/carbon
Tool Used in agent projectsDownloads / wk GitHub starsLicense
TypeScript npm
Language for application-scale JavaScript development with static type checking.
7,092 (55.9%) 305M 111K Apache-2.0
ts-node npm
TypeScript execution environment for Node.js with source map support.
865 (6.8%) 45.6M 13.1K 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 —
Is tsx right for your project? Ask AgentGid →