Get the latest tech news

Run TypeScript code without worrying about configuration


tsx (TypeScript Execute) - The easiest way to run TypeScript in Node.js

tsx runs your TypeScript code with modern and sensible defaults, making it user-friendly and especially great for beginners. Back then, ts-node was the go-to tool for running TypeScript in Node.js, but it lacked ESM support and was quite complicated to use. We noticed several open-source tools using esbuild to run TypeScript in Node.js and decided to bring these efforts together into one simple, cohesive project.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of TypeScript

TypeScript

Photo of configuration

configuration

Photo of TypeScript code

TypeScript code

Related news:

News photo

A Rust-TypeScript integration

News photo

Show HN: Pickaxe – A TypeScript library for building AI agents

News photo

Infisical (YC W23) Is Hiring Full Stack Engineers (TypeScript) in US and Canada