EXAMPLE AND INSTRUCTIONS TO RUN:
- TYPESCRIPT EXECUTE (TSX): NODE.JS ENHANCED WITH ESBUILD TO RUN TYPESCRIPT AND ESM FILES.
npm install -D tsx
npx tsx watch ./folderSource/folderTopics/folderTsx/exampleTsx.ts
CREATE COMMAND npm run tsx-dev
BY ADDING THE FOLLOWING LINES TO THE script ENTRY IN package.json:
"tsx-dev": "tsx watch ./folderSource/index.ts",