/** * Check if your code is running as an [npm](https://docs.npmjs.com/misc/scripts) or [yarn](https://yarnpkg.com/lang/en/docs/cli/run/) script. * * @example * * import {isNpm} from 'isNpm'; * * if (isNpm) { * console.log('Running as a npm script!'); * } */ export const isNpm: boolean;