Emmanuil 73a9f0ffcf 20.07.2020 il y a 4 ans
..
.travis.yml 73a9f0ffcf 20.07.2020 il y a 4 ans
LICENSE 73a9f0ffcf 20.07.2020 il y a 4 ans
README.md 73a9f0ffcf 20.07.2020 il y a 4 ans
index.js 73a9f0ffcf 20.07.2020 il y a 4 ans
package.json 73a9f0ffcf 20.07.2020 il y a 4 ans

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