Alias to `tsx`
Next, I thought well nx is not gonna work for now, so let's keep looking for an alternative to ts-node. Oh look, there is this https://github.com/esbuild-kit/tsx. It natively understands path aliases, no need for any flags. Oh wait...it doesn't do any type checking like ts-node. WHAT? why would anyone execute typescript without type checks during development?.
TypeScript execution and REPL for node.js (by geigerzaehler)
What worked for me is using the path alias' fork for ts-node. Unfortunately it's a few versions behind, so it doesn't support some things (e.g. type assertions), but it works for general use cases.
Appwrite - The open-source backend cloud platform. Add Auth, Databases, Functions, and Storage to your product and build any application at any scale while using your preferred coding languages and tools.
1 project | /r/typescript | 6 Feb 2023
What's the proper tools to use for node.js development?
1 project | /r/typescript | 26 Aug 2022
PSA: Speed up your ts-node command with a simple --swc flag
1 project | /r/typescript | 16 Aug 2022
tsx: Node.js enhanced with esbuild to run TypeScript & ESM
4 projects | /r/typescript | 27 Jun 2022
Finally, a guide for Node.js and TypeScript and ESM that works
18 projects | news.ycombinator.com | 21 Nov 2023