Emmanuil 73a9f0ffcf 20.07.2020 4 år sedan
..
.travis.yml 73a9f0ffcf 20.07.2020 4 år sedan
LICENSE 73a9f0ffcf 20.07.2020 4 år sedan
README.md 73a9f0ffcf 20.07.2020 4 år sedan
index.js 73a9f0ffcf 20.07.2020 4 år sedan
package.json 73a9f0ffcf 20.07.2020 4 å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