Compiling a nodejs projects as a single binary : reate a single executable out of your node.js apps

http://www.jedi.be/blog/2013/05/14/Compiling%20-%20packaging%20a%20nodejs%20project%20as%20a%20single%20binary/

Let’s face it, if you write software it’s often hard to distribute it: you have the runtime , the modules you depend on and your software itself. Sure you can package that all but packages ofter require you to have root-privileges to install.

Motivation

Ability to run multiple applications with different node.js runtimes.
Distributable binaries without needing node / npm.
Starts faster.
Lockdown specific application versions, and easily rollback.
Faster deployments.

Building Requirements

Linux / Mac / BSD / Windows
Python 2.6 or 2.7 (use –python if not in PATH)
Windows: Visual Studio 2010+

**********

EncloseJS http://enclosejs.com/

Compile your Node.js project. No sources aboard.

B logbook : PHP | Javascript | Laravel | CodeIgniter | VueJs | ReactJs | WordPress