Maik 605bfceacd module | 3 years ago | |
---|---|---|
.. | ||
.travis.yml | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago | |
index.js | 3 years ago | |
package.json | 3 years ago |
Check if installed by yarn globally without any fs
calls
$ npm install is-yarn-global
Just require it in your package.
const isYarnGlobal = require('is-yarn-global');
console.log(isYarnGlobal());
MIT © LitoMore