You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Christian Ziermann b8da0c7023 Initial commit 4 years ago
..
.travis.yml Initial commit 4 years ago
LICENSE Initial commit 4 years ago
README.md Initial commit 4 years ago
index.js Initial commit 4 years ago
package.json Initial commit 4 years ago

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