mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
539 B
539 B
is-npm 
Install
$ npm install is-npm
Usage
const {isNpm} = require('is-npm');
console.log(isNpm);
$ node foo.js
#=> false
$ npm run foo
#=> true
$ yarn run foo
#=> true
License
MIT © Sindre Sorhus