UNPKG

pm25

Version:

Production process manager for Node.JS applications with a built-in load balancer.

11 lines (7 loc) 153 B
var PM2 = require('../../..'); var pm2 = new PM2.custom({ cwd : __dirname }); PM2.start('./echo.js', function(err, app) { if (err) throw err; });