is-pm2
v1.0.0
Published
Detect if your code is running under PM2.
Downloads
160
Readme
is-pm2
Detect if your code is running under PM2.
Install
$ npm install --save is-pm2
Usage
const isPm2 = require('is-pm2');
isPm2();
//=> 'true' if your code is running under [PM2](https://www.npmjs.com/package/pm2)
License
MIT © Leo Lozach