tsx
npmv4.23.1TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
Overview
tsx is an npm package that typeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files. It is extremely widely used, with about 73.1M downloads per week and 5 known dependents in the graph. The latest version is 4.23.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need typeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (73.1M weekly downloads).
- Clear open-source license (MIT).
- Lean dependency tree (2 direct dependencies).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of tsx.
Dependencies
Runtime (1)
Used by
Popular packages that depend on tsx.
Native-ESM powered web dev build tool
Strict TypeScript and Flow types for style based on MDN data
Functions for dealing with a PostgreSQL connection string
The official, opinionated, batteries-included toolset for efficient Redux development
Drizzle ORM package for SQL databases
fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS
AWS RDS SSL certificates bundles.
Type safe SQL query builder
🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).
The official Node.js client library for Gel
Types for the TypeScript-ESTree AST spec
CSS color - Resolve and convert CSS colors.
Encode & decode XML and HTML entities with ease & speed
Modify a JS/TS file and write back magically just like JSON!
Message based Two-way remote procedure call
Alternatives to tsx
The React Framework
Tomorrow's ECMAScript modules today!
🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).
Universal module importer for Node.js
the complete solution for node.js command-line programs
TypeScript-first schema declaration and validation library with static type inference
Strict TypeScript and Flow types for style based on MDN data
Promise based HTTP client for the browser and node.js
Delightful JavaScript Testing.
Protocol Buffers for ECMAScript. The only JavaScript Protobuf library that is fully-compliant with Protobuf conformance tests.
Drizzle ORM package for SQL databases
Type safe SQL query builder
Frequently installed together
TypeScript definitions for node
Prettier is an opinionated code formatter
Next generation testing framework powered by Vite
An extremely fast JavaScript and CSS bundler and minifier.
An AST-based pattern checker for JavaScript.
TypeScript definitions for pg
React is a JavaScript library for building user interfaces.
PostgreSQL client - pure javascript & libpq with the same API
fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS
The fastest and simplest library for SQLite in Node.js.
TypeScript definitions for better-sqlite3
V8 coverage provider for Vitest
Version history
| Version | Published | License |
|---|---|---|
| 4.23.1latest | 6 days ago | MIT |
| 4.23.0 | 15 days ago | MIT |
| 4.22.5 | 16 days ago | MIT |
| 4.22.4 | 1 month ago | MIT |
| 4.22.3 | 2 months ago | MIT |
| 4.22.2 | 2 months ago | MIT |
| 4.22.1 | 2 months ago | MIT |
| 4.22.0 | 2 months ago | MIT |
| 4.21.1 | 2 months ago | MIT |
| 4.21.0 | 7 months ago | MIT |
| 4.20.6 | 9 months ago | MIT |
| 4.20.5 | 10 months ago | MIT |
| 4.20.4 | 11 months ago | MIT |
| 4.20.3 | 1 year ago | MIT |
| 4.20.2 | 1 year ago | MIT |
| 4.20.1 | 1 year ago | MIT |
| 4.20.0 | 1 year ago | MIT |
| 4.19.4 | 1 year ago | MIT |
| 4.19.3 | 1 year ago | MIT |
| 4.19.2 | 1 year ago | MIT |
Maintainers
Frequently asked questions
How do I install tsx?
Run `npm install tsx` to add tsx to your npm project.
What license is tsx released under?
tsx is distributed under the MIT license.
How popular is tsx?
tsx has approximately 73,119,309 downloads per week and 5 known dependent packages.