Video Chapters (table of content with clickable links into a specific part of the video)
00:00 Introduction about the video content
00:40 Prerequisites (you should have some programming skills in at least some language)
01:03 Command prompt (showing the Deno version, creates new directory, starts Visual Studio Code)
02:00 Creates a "Hello World" program
02:30 Executes (with TypeScript/Deno) "Hello World" from the command prompt
02:45 Replaces the implementation with TypeScript/Deno code receiving arguments from the command line and the keyboard
06:35 Executes the TypeScript program with Deno
08:00 Changes to use TypeScript/Node instead of TypeScript/Deno
09:00 Creates a file package.json with "npm init" and installs typescript and ts-node
10:33 Modifies the TypeScript code to use Node.js instead of Deno
12:10 Executes the TypeScript program with Node.js and ts-node
13:20 Installs and implements with third part library "readline-sync"
14:30 Executes the TypeScript program (with Node.js/ts-node and is now using"readline-sync")
Please note that you can choose to show english subtitles for the videos.
Currently (when this video was published) there are not many videos in the below playlists but please remember to subscribe to this channel if you think you are interested in future videos which will become added to the play lists.
Playlists for "Program arguments from command line and keyboard input" for different programming languages:
Playlist for the videos with english voice and english subtitles:
• Program arguments from command line a...
Playlist for the videos with swedish voice and swedish subtitles:
• Program argument från kommandoraden o...
TypeScript playlist (english):
• TypeScript (with Deno and Node.js) - ...
TypeScript playlist (swedish):
• TypeScript (med Deno och Node.js) - P...
TypeScript
https://www.typescriptlang.org/
Deno (runtime for TypeScript and JavaScript)
https://deno.land
Node.js (runtime for JavaScript)
https://nodejs.org
ts-node (TypeScript execution for Node.js)
https://typestrong.org/ts-node/
npx
https://docs.npmjs.com/cli/v8/command...
npm ("Node Package Manager")
https://en.wikipedia.org/wiki/Npm_(so...)
Visual Studio Code (cross-platform editor):
https://code.visualstudio.com/download
Documentation:
Deno.args
https://doc.deno.land/deno/stable/~/D...
Deno 'prompt'
https://doc.deno.land/deno/stable/~/p...
Node.js 'process.argv'
https://node.readthedocs.io/en/latest...
Node.js 'readline'
https://node.readthedocs.io/en/latest...
Node.js library 'readline-sync'
https://github.com/anseki/readline-sync
stackoverflow "How to take two consecutive input with the readline module of node.js?"
https://stackoverflow.com/questions/3...
"SOLVED TypeScript Cannot Redeclare Block Scoped Variable Name"
https://backbencher.dev/articles/type...