Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

is-pm2

1.0.0 • Public • Published

is-pm2

NPM downloads Travis build status Appveyor build status Coveralls coverage status JavaScript Style Guide

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

install

npm i is-pm2

Downloadsweekly downloads

67

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability