gavwin / node-launch

Launch node script(s) with node-launch.

Home Page:https://npmjs.com/package/node-launch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-launch

Launch node script(s) with node-launch. downloads npm

npm

Example

const launch = require('node-launch');

/*
Supported launchtypes:
node
pm2
nodemon
forever
*/

launch('script.js', 'node'); //launch script.js with node
launch('script2.js', 'pm2'); //launch script2.js with pm2

About

Launch node script(s) with node-launch.

https://npmjs.com/package/node-launch

License:MIT License


Languages

Language:JavaScript 100.0%