UNPKG

is-npm

Version:

Check if your code is running as an npm script

42 lines (41 loc) 738 B
{ "name": "is-npm", "version": "6.0.0", "description": "Check if your code is running as an npm script", "license": "MIT", "repository": "sindresorhus/is-npm", "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "type": "module", "exports": "./index.js", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "scripts": { "test": "xo && ava && tsd" }, "files": [ "index.js", "index.d.ts" ], "keywords": [ "npm", "yarn", "is", "check", "detect", "env", "environment", "run", "script" ], "devDependencies": { "ava": "^3.15.0", "tsd": "^0.17.0", "xo": "^0.44.0" } }