frontend/.pnpm-store/v3/files/92/333ee3cb2d64cd1b8dbf18aaa5da8ea876e9cc2f0d7f1c46779cefeeb110c5dd1f525310e66e34d89663a1c60921f7cb5987dc28ce413b946e740ca1eab34c

28 lines
637 B
Plaintext

# is-yarn-global
[![](https://img.shields.io/npm/v/is-yarn-global.svg)](https://www.npmjs.com/package/is-yarn-global)
[![](https://img.shields.io/npm/l/is-yarn-global.svg)](https://github.com/LitoMore/is-yarn-global/blob/master/LICENSE)
[![](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)
Check if installed by yarn globally without any `fs` calls
## Install
```bash
$ npm install is-yarn-global
```
## Usage
Just require it in your package.
```javascript
import isYarnGlobal from 'is-yarn-global';
console.log(isYarnGlobal());
```
## License
MIT © [LitoMore](https://github.com/LitoMore)