RUVIDEO
Поделитесь видео 🙏

JavaScript (with Node.js and Deno) - Command line arguments and user keyboard input

Video Chapters (table of content with clickable links into a specific part of the video)
00:00 Introduction about the video content
00:41 Prerequisites (you should have some programming skills in at least some language)
01:18 Command prompt (showing Node and npm versions, creates new directory, starts Visual Studio Code)
01:50 Creates a "Hello World" program
02:18 Executes (with Node) "Hello World" from the command prompt
02:58 Replaces the implementation with JavaScript/Node code receiving arguments from the command line and the keyboard
07:28 Executes the JavaScript program with Node
10:50 Installs and implements with the third-party library "readline-sync"
11:51 Executes the JavaScript program (which now uses "readline-sync") with npm/Node.js
12:01 Changes to use JavaScript/Deno instead of JavaScript/Node.js
13:11 Modifies the JavaScript code to use Deno instead of Node.js
13:53 Executes the JavaScript program with Deno


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:
https://www.youtube.com/watch?v=-1THmtId2IY&list=PL4DolL1WgGzauDpEpS005QsE1wcmx_X6-
Playlist for the videos with swedish voice and swedish subtitles:
https://www.youtube.com/watch?v=CGAb5frycls&list=PL_WRJfW_FkqzxxxrL1pjOBAI73JtsPTOm

JavaScript playlist (english):
https://www.youtube.com/watch?v=xp5Y8Wvr2i4&list=PL4DolL1WgGzYjU6VufMGGviqGOtMhXzoN
JavaScript playlist (swedish):
https://www.youtube.com/watch?v=1_FOwbZz_4Q&list=PL_WRJfW_FkqyonLg4WX4NcN0n36p2sjnX


Node.js (runtime for JavaScript)
https://nodejs.org

npm ("Node Package Manager")
https://en.wikipedia.org/wiki/Npm_(software)
https://www.npmjs.com

Deno (runtime for JavaScript and TypeScript)
https://deno.land


Visual Studio Code (cross-platform editor):
https://code.visualstudio.com/download


Documentation:

Deno.args
https://doc.deno.land/deno/stable/~/Deno.args

Deno 'prompt'
https://doc.deno.land/deno/stable/~/prompt

Node.js 'process.argv'
https://node.readthedocs.io/en/latest/api/process/#processargv

Node.js 'readline'
https://nodejs.org/docs/latest-v17.x/api/readline.html
https://node.readthedocs.io/en/latest/api/readline/

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/36540996/how-to-take-two-consecutive-input-with-the-readline-module-of-node-js

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «JavaScript (with Node.js and Deno) - Command line arguments and user keyboard input», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.