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