tsx
Use tsx v4 as a Node-compatible TypeScript loader, or use its documented ESM/CJS Developer APIs from a plain script. Covers v4 changes, dynamic loading, scoped registration, and the boundary between the API and the tsx CLI.
A skill is written against one major of its package, because a major is where the shape changes. Pick the line that matches your lockfile.
| Line | For | Verified |
|---|---|---|
| 4.x | tsx@4.23.13 |
2026-09-07, 2 examples |