Files
codeql-action/node_modules/is-yarn-global
Esben Sparre Andreasen 766aa7fda1 merge chris
2020-12-10 11:29:11 +01:00
..
2020-05-13 11:13:27 +01:00
2020-05-13 11:13:27 +01:00
2020-05-13 11:13:27 +01:00
2020-12-10 11:29:11 +01:00
2020-05-13 11:13:27 +01:00

is-yarn-global

Check if installed by yarn globally without any fs calls

Install

$ npm install is-yarn-global

Usage

Just require it in your package.

const isYarnGlobal = require('is-yarn-global');

console.log(isYarnGlobal());

License

MIT © LitoMore