chrisdrakeford 9c87c1307d first commit %!s(int64=3) %!d(string=hai) anos
..
.travis.yml 9c87c1307d first commit %!s(int64=3) %!d(string=hai) anos
LICENSE 9c87c1307d first commit %!s(int64=3) %!d(string=hai) anos
README.md 9c87c1307d first commit %!s(int64=3) %!d(string=hai) anos
index.js 9c87c1307d first commit %!s(int64=3) %!d(string=hai) anos
package.json 9c87c1307d first commit %!s(int64=3) %!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