Hacker GitHub

← All repos

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

Mentions per year 14 mentions · busiest year 2023 (6)
20082026
  1. how does it compare to tsx ? https://github.com/privatenumber/tsx
  2. 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
  3. I like tsx for this, and it's actively maintained. The author may not know about it. https://github.com/privatenumber/tsx
  4. 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
  5. …to tsx, the package that lets you execute ts files, not to running files with the tsx extension. https://github.com/privatenumber/tsx
  6. 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
  7. …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
  8. …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)
  9. …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…
  10. …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
  11. …found TSX to be a better alternative to ts-node. It seems to have more sensible defaults in 2023. https://github.com/privatenumber/tsx
  12. 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
  13. Have a look at https://github.com/esbuild-kit/tsx tsx is a CLI command (alternative to node) for seamlessly running TypeScript & ESM, in both commonjs & module package types. It's powered by esbuild so it's insanely fast. I also suggest…
    comment by denysonique · 2023-02-12 · in <3 Deno