This project work with node.js, using ts-node and nodemon.
- You can clone this project for your computer
- Go to
ts-sandboxfolder - Run
npm install - And that is all :-) Now, You can write your TypeScript code in
./src/index.tsand runnpm run scriptfor execute it with node.js - Or you can use
npm run buildfor compile it to JS - Also you can use
npm startfor launch ts-node and write your code right in console (like browser console). For exit from ts-node pressCtrl+Ctwice - And last, you can use
npm watchfor run nodemon, which execute your script automatically when source files will changes.