compare
Bun vs tsx
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | Bun | tsx |
|---|---|---|
| Language | Rust | TypeScript |
| Licence | Other | MIT |
| Stars | 97k | 12k |
| Latest | bun-v1.4.5 | v4.23.15 |
| Last push | 2026-11-23 | 2026-09-25 |
| Release cadence | about 20 days between releases | about 11 days between releases |
| Active contributors | 8+ commit authors on the default branch in the last 90 days | 3 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
Both replace ts-node. Alternatives to ts-node →
Full replacementBunRuns TypeScript files directly, with no separate compile step.
Full replacementtsxRuns TypeScript on Node.js through esbuild, in ESM and CommonJS, without type checking.
Bun
- bun-v1.4.52026-11-19Bun v1.4.5
- bun-v1.4.42026-10-22Bun v1.4.4
- bun-v1.4.32026-10-10Bun v1.4.3
- bun-v1.4.22026-09-05Bun v1.4.2
- bun-v1.4.12026-09-04Bun v1.4.1
tsx
- v4.23.152026-09-20exclude bare builtins from namespace inheritance (38e1588)
- v4.23.142026-09-20restore the CJS bridge namespace for Node 24 require(esm) under tsImport() (#802) (6e5236b)
- v4.23.132026-08-30cache: bound shared transform cache memory (#835) (28e1f12)
- v4.23.122026-08-10shim import.meta when tokens are split by comments or newlines (#829) (ed9d330), closes #828
- v4.23.112026-08-07preserve async ESM require fallback (55cbece)
Bun
unsigned The latest release, bun-v1.4.5, carries no signature GitHub could verify.
Loading the security report
tsx
✓ signed The latest release, v4.23.15, carries a signature GitHub verified.
Loading the security report