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.
Or read this on Hacker News