Inspired by PM2BUT implemented madly
- Cross-Platform: Windows & Unix
- Terminal CLI & node.js API
- Start & Stop & Restart & List
- Log & Watch
- Save & Resurrect
- Autostart on boot
- Auto-restart on crash
## for terminal CLI
$ npm install --global pum
$ pum start serve . -p 3020
> Starting 5452: $ serve . -p 3020
$ pum stop 5452 ## PID
> Stopping 5452
// for node.js APIvarPUM=require('pum').PUMvarpum=newPUM()varprc=pum.start('mongod --dbpath xxx')pum.stop(prc.pid,function(e,doc){/**/})- Pretty CLI table output by cli-table
- Program data persistence via nedb
- Deadly process kill via tree-kill
- Start without prompts in Windows using invisible.vbs (Interesting..)
- Shell command quoted with shell-quote
- Test with supertest
