I was looking for a way to distribute a node.js app I wrote without the receiver being forced to install node and all dependencies to my app.
Luckily I found nexe!
This npm package compiles your node app with node and everything in it so you can run it on any (Linux and Mac) computer without any hassle. Cool.
This is how you use it:
#First, install nexe npm install nexe #Compile time! This takes a while. /path/to/nexe -i /path/to/node_app.js -o /path/to/output_bundle #Run your bundle /path/to/output_bundle
One great thing with node.js being bundled is that you can upgrade node.js on your machine without the risk of breaking your current apps.