privatenumber/tsx
View on GitHub ↗ ★ 12,181 TypeScript
⚡️ TypeScript Execute | The easiest way to run TypeScript in Node.js
14 mentions on Hacker News by 12 people: 1 story, 13 comments · first 2023-01-29 · latest 2026-05-28
20082026
-
how does it compare to tsx ? https://github.com/privatenumber/tsx
comment by vivzkestrel · 2026-05-28 · in tsz: high performance TypeScript checker, emitter, and language service in Rust -
For those looking for an alternative no-compilation TypeScript runner, I'm quite satisfied with TSX: https://github.com/privatenumber/tsx Node.js itself is getting quite close to running TypeScript natively, but they don't support using ES…
comment by ivanjermakov · 2026-05-14 · in Rewrite Bun in Rust has been merged -
I like tsx for this, and it's actively maintained. The author may not know about it. https://github.com/privatenumber/tsx
comment by dcre · 2026-02-18 · in Fastest Front End Tooling for Humans and AI -
or you could do what tsx does? charge money to fix issues as an option https://github.com/privatenumber/tsx/issues/758 issues are fixed on priority basis for people willing to pay
comment by vivzkestrel · 2025-11-26 · in What they don't tell you about maintaining an open source project -
…to tsx, the package that lets you execute ts files, not to running files with the tsx extension. https://github.com/privatenumber/tsx
comment by wartijn_ · 2025-08-17 · in Node.js is able to execute TypeScript files without additional configuration -
btw if anyone is looking to run ts on node, there is tsx. there is also ts-node but i prefer tsx. https://github.com/privatenumber/tsx
comment by yamumsahoe · 2024-07-25 · in Node.js adds experimental support for TypeScript -
…Thankfully libraries like esbuild exist (and by extension `tsx` which uses esbuild under the hood). https://github.com/privatenumber/tsx
comment by dimgl · 2024-03-21 · in Require(esm) in Node.js -
…performance these days, and you can even easily run CLI scripts with tsx. `#!/usr/bin/env tsx` ( https://github.com/privatenumber/tsx )
comment by adamddev1 · 2024-01-09 · in Practising Programming (2022) -
…again. The biggest tip I can give people is to ditch ts-node and just use (the awkwardly named) tsx https://github.com/privatenumber/tsx , which pretty much just "mostly works" for running Typescript during dev for node. The problem mostly…
comment by madeofpalk · 2023-11-21 · in A Node, TypeScript, TS-Node and ESM experience that works -
…test runner. I had to tsc then node --test the built files. tsx also is missing the test runner https://github.com/privatenumber/tsx/issues/257
comment by pyrolistical · 2023-11-21 · in A Node, TypeScript, TS-Node and ESM experience that works -
…found TSX to be a better alternative to ts-node. It seems to have more sensible defaults in 2023. https://github.com/privatenumber/tsx
comment by rickcarlino · 2023-11-21 · in A Node, TypeScript, TS-Node and ESM experience that works -
I’ve generally found tsx to be better/less hassle than ts-node https://github.com/esbuild-kit/tsx
comment by rcarr · 2023-05-10 · in TS to JSDoc Conversion