https://github.com/johnpapa/typescript-hello-world
Simple hello world project for running TypeScript with Node.js
https://github.com/johnpapa/typescript-hello-world
Last synced: about 1 month ago
JSON representation
Simple hello world project for running TypeScript with Node.js
- Host: GitHub
- URL: https://github.com/johnpapa/typescript-hello-world
- Owner: johnpapa
- Created: 2021-12-05T23:37:43.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-05T23:37:53.000Z (almost 4 years ago)
- Last Synced: 2024-12-16T22:01:45.811Z (10 months ago)
- Language: TypeScript
- Size: 1000 Bytes
- Stars: 4
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hello TypeScript
Simple hello world project for running TypeScript with Node.js
## Running the Project
1. Install Node.js LTS ([https://nodejs.org](https://nodejs.org))
1. Open a command window at the root of this project
1. Run `npm install`## Running the Project
1. Run `tsc` to build the javascript to the `out` folder
1. Run `node out/helloworld.js`## Debugging the Project
1. Open the project in VS Code
1. Open the `helloworld.ts` file
1. Set a breakpoint on one of the lines of code
1. Press `F5`