NodeJS

About Installation
This guide will walk through installing Node.js behind nginx and using Monit to keep Node instances alive. Since Node.js is a single-process application, the goal is to launch multiple instances of the application and load balance using nginx.

npm
Node.js has a USE flag to include npm, the Node.js package manager. is necessary to install a Node.js application's dependencies, which are defined in a file named package.json. The USE can be disabled if is not necessary locally, or prefer to only install an alternative, for example,.

Packages
Node.js typically responds directly to HTTP requests by running a server. Node.js works best with multiple instances running behind a load-balancing gateway, such as nginx.

Use for spawning Node.js servers.