📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-21 17:58:42
📂
/ (Root)
/
lib
/
node_modules
/
npm
/
node_modules
/
is-npm
📍 /lib/node_modules/npm/node_modules/is-npm
🔄 Refresh
✏️
Editing: readme.md
Read Only
# is-npm [](https://travis-ci.org/sindresorhus/is-npm) > Check if your code is running as an [npm script](https://www.npmjs.org/doc/misc/npm-scripts.html) ## Install ```sh $ npm install --save is-npm ``` ## Usage ```js var isNpm = require('is-npm'); console.log(isNpm); ``` ```sh $ node foo.js #=> false $ npm run foo #=> true ``` ## License MIT © [Sindre Sorhus](http://sindresorhus.com)
💾 Save Changes
❌ Cancel