How to execute the above programs?
To execute the above programs you need to install Node.js software. From nodejs.org you can get installers for several operating systems. For Windows, you can get a ready-to-run file named node.exe. On my Windows computer the Node.js 'installation' is such that I have downloaded the file node.exe and stored it in folder C:\freeware.
On my computer it is necessary to type C:\freeware\node and the file name to run a program. Doing this typing is not actually a problem because it is possible to repeat the commands with the Arrow-Up and Arrow-Down keys. All the above programs have been developed so that I have written them with the free Notepad++ editor and then executed with commands such as the one above.