Emmanuil 73a9f0ffcf 20.07.2020 %!s(int64=4) %!d(string=hai) anos
..
.travis.yml 73a9f0ffcf 20.07.2020 %!s(int64=4) %!d(string=hai) anos
LICENSE 73a9f0ffcf 20.07.2020 %!s(int64=4) %!d(string=hai) anos
README.md 73a9f0ffcf 20.07.2020 %!s(int64=4) %!d(string=hai) anos
index.js 73a9f0ffcf 20.07.2020 %!s(int64=4) %!d(string=hai) anos
package.json 73a9f0ffcf 20.07.2020 %!s(int64=4) %!d(string=hai) anos

README.md

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.

const isYarnGlobal = require('is-yarn-global');

console.log(isYarnGlobal());

License

MIT © LitoMore