forever
CLI tool for ensuring that a given script runs continuously
...Note that this project currently fully depends on the community for implementing fixes and new features. For new installations we encourage you to use pm2 or nodemon. If you are using forever programmatically you should install forever-monitor. There are two ways to use forever: through the command line or by using forever in your code. Note: If you are using forever programatically you should install forever-monitor. You can use forever to run scripts continuously (whether it is written in node.js or not). In addition to passing forever the path to a script (along with accompanying options, described above), you may also pass forever the path to a JSON file containing these options. ...