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 | 96k | 12k |
| Latest | bun-v1.4.2 | v4.23.15 |
| Last push | 2026-10-06 | 2026-09-25 |
| Release cadence | about 19 days between releases | about 11 days between releases |
| Active contributors | 8+ commit authors on the default branch in the last 90 days | 10 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.22026-09-05Bun v1.4.2
- bun-v1.4.12026-09-04Bun v1.4.1
- bun-v1.4.02026-08-20Bun v1.4
- bun-v1.3.142026-05-13Bun v1.3.14
- bun-v1.3.132026-04-20Bun v1.3.13
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.2, 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