Get running processes
Works on OS X, Linux, Windows.
$ npm install --save ps-list
const psList = ;;
Returns a promise for an array with the running processes.
Return other users' processes as well as your own.
On Windows this has no effect and will always be the users' own processes.
MIT © Sindre Sorhus