Check if installed by yarn globally without any fs
calls
$ npm install is-yarn-global
Just require it in your package.
import isYarnGlobal from 'is-yarn-global';
console.log(isYarnGlobal());
MIT © LitoMore
Check if installed by yarn globally without any `fs` calls
Check if installed by yarn globally without any fs
calls
$ npm install is-yarn-global
Just require it in your package.
import isYarnGlobal from 'is-yarn-global';
console.log(isYarnGlobal());
MIT © LitoMore
Check if installed by yarn globally without any `fs` calls
MIT License