Emmanuil 67a2fbe5b9 done il y a 4 ans
..
.travis.yml 67a2fbe5b9 done il y a 4 ans
LICENSE 67a2fbe5b9 done il y a 4 ans
README.md 67a2fbe5b9 done il y a 4 ans
index.js 67a2fbe5b9 done il y a 4 ans
package.json 67a2fbe5b9 done 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