|
12345678910111213141516171819202122232425262728 |
- # is-yarn-global
-
- [](https://travis-ci.org/LitoMore/is-yarn-global)
- [](https://www.npmjs.com/package/is-yarn-global)
- [](https://github.com/LitoMore/is-yarn-global/blob/master/LICENSE)
- [](https://github.com/sindresorhus/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
- const isYarnGlobal = require('is-yarn-global');
-
- console.log(isYarnGlobal());
- ```
-
- ## License
-
- MIT © [LitoMore](https://github.com/LitoMore)
|