All Projects → sindresorhus → Is Npm Cli

sindresorhus / Is Npm Cli

Licence: mit
Check if your code is running as an npm script

Programming Languages

javascript
184084 projects - #8 most used programming language

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].