dijkstra-backend-cloudron/node_modules/is-npm
2020-10-12 11:27:15 +02:00
..
index.js Add initial version of dijkstra backend cloudron image 2020-10-12 11:27:15 +02:00
package.json Add initial version of dijkstra backend cloudron image 2020-10-12 11:27:15 +02:00
readme.md Add initial version of dijkstra backend cloudron image 2020-10-12 11:27:15 +02:00

is-npm Build Status

Check if your code is running as an npm script

Install

$ npm install --save is-npm

Usage

var isNpm = require('is-npm');
console.log(isNpm);
$ node foo.js
#=> false
$ npm run foo
#=> true

License

MIT © Sindre Sorhus