Maik 605bfceacd module 3 år sedan
..
.travis.yml 605bfceacd module 3 år sedan
LICENSE 605bfceacd module 3 år sedan
README.md 605bfceacd module 3 år sedan
index.js 605bfceacd module 3 år sedan
package.json 605bfceacd module 3 år sedan

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