is-npm-cli
v2.0.0
Published
Check if your code is running as an npm script
Downloads
252
Maintainers
Readme
is-npm-cli
Check if your code is running as an npm script
Install
npm install --global is-npm-cli
Usage
$ is-npm --help
Usage
$ is-npm
Exits with code 0 if running as an npm script, otherwise code 2
Related
- is-npm - API for this module