is-npm

v6.0.0
Check if your code is running as an npm script
npm yarn is check detect env environment run script and 1 more...

npm i is-npm

Metadata

  • MIT
  • ^12.20.0 || ^14.13.1 || >=16.0.0
  • Sindre Sorhus
  • released 9/18/2021

Downloads

Maintainers