Worker Utils
Starts workers with a set priority (to run background tasks or to respond in high urgency), with keepAlive option to restart failing processes.
Installation
npm install worker_utils --save
Usage
const os = WorkerUtils = ; var workerUtils = "Background Worker"; workerUtils; workerUtils;
Notes
Windows
If you wish to use custom priority on a script, you might need write access on the running dir as wmic calls sometimes write a temp batch file
Nix
Uses nice for priority handling