</>PackageGraphPackageGraph

tsx

npmv4.23.1

TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files

73.1M
Weekly downloads
5
Dependents
2
Dependencies
100/100
Popularity

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.

vitenpm

Native-ESM powered web dev build tool

143.8M/wk1 dependentsMIT
csstypenpm

Strict TypeScript and Flow types for style based on MDN data

133.9M/wk1 dependentsMITTS
pg-connection-stringnpm

Functions for dealing with a PostgreSQL connection string

40.2M/wk1 dependentsMITTS
@reduxjs/toolkitnpm

The official, opinionated, batteries-included toolset for efficient Redux development

22.6M/wk0 dependentsMITTS
drizzle-ormnpm

Drizzle ORM package for SQL databases

13.7M/wk0 dependentsApache-2.0TS
mysql2npm

fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS

12.4M/wk1 dependentsMITTS
aws-ssl-profilesnpm

AWS RDS SSL certificates bundles.

10.5M/wk1 dependentsMITTS
kyselynpm

Type safe SQL query builder

10.3M/wk1 dependentsMIT
sql-escapernpm

🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).

3.9M/wk1 dependentsMITTS
gelnpm

The official Node.js client library for Gel

1.2M/wk1 dependentsApache-2.0TS
@typescript-eslint/typesnpm

Types for the TypeScript-ESTree AST spec

0/wk2 dependentsMITTS
@asamuzakjp/css-colornpm

CSS color - Resolve and convert CSS colors.

0/wk1 dependentsMITTS
entitiesnpm

Encode & decode XML and HTML entities with ease & speed

0/wk2 dependentsBSD-2-ClauseTS
magicastnpm

Modify a JS/TS file and write back magically just like JSON!

0/wk3 dependentsMITTS
birpcnpm

Message based Two-way remote procedure call

0/wk4 dependentsMITTS

Alternatives to tsx

Frequently installed together

Version history

VersionPublishedLicense
4.23.1latest6 days agoMIT
4.23.015 days agoMIT
4.22.516 days agoMIT
4.22.41 month agoMIT
4.22.32 months agoMIT
4.22.22 months agoMIT
4.22.12 months agoMIT
4.22.02 months agoMIT
4.21.12 months agoMIT
4.21.07 months agoMIT
4.20.69 months agoMIT
4.20.510 months agoMIT
4.20.411 months agoMIT
4.20.31 year agoMIT
4.20.21 year agoMIT
4.20.11 year agoMIT
4.20.01 year agoMIT
4.19.41 year agoMIT
4.19.31 year agoMIT
4.19.21 year agoMIT

Maintainers

Keywords

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.