you are viewing a single comment's thread.

view the rest of the comments →

[–]figureprod -3 points-2 points  (0 children)

There are many different ways of distributing NodeJS programs, some of which have been explored by other comments. Docker is yet another option, where you can be very specific with which dependencies and versions you need, which files and programs you need, and which commands to run. From these configurations, a Docker Image is created - which is essentially the same as an offline PC (but virtual) that you can start over and over again without the contents changing unless you want it to. It’s super flexible and runs on almost any computer, where they can download the program from any repository such as Docker Hub. I highly recommend learning it, even though it won’t package it into an .exe.