mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-12-06 04:43:52 +01:00
637 B
637 B
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.
import isYarnGlobal from 'is-yarn-global';
console.log(isYarnGlobal());
License
MIT © LitoMore