Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tsx to trial ring #91

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions radar/tools/tsx.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: "tsx"
ring: trial
quadrant: tools
tags: [typescript, javascript, cli]
---

[tsx](https://tsx.is/) is a command-line tool that enables the execution of
TypeScript files without the need for prior compilation. This tool is akin to
`ts-node`, but it is designed to be faster and more lightweight.

According to a
[runtime comparison](https://github.com/privatenumber/ts-runtime-comparison),
`tsx` is the most complete and fastest cli for TypeScript: it consistently
performs better than `ts-node`.

## Use cases

While `tsx` is currently in the Trial ring, it holds promise for enhancing the
TypeScript development experience. We suggest giving it a try as a replacement
for `ts-node` to assess its advantages in running TypeScript sources without the
need for pre-transpilation.
Loading