codeql-action/node_modules/is-yarn-global
2020-06-24 14:33:14 +01:00
..
.travis.yml replace jest with ava 2020-05-13 11:13:27 +01:00
index.js replace jest with ava 2020-05-13 11:13:27 +01:00
LICENSE replace jest with ava 2020-05-13 11:13:27 +01:00
package.json Run npm install so have clear baseline 2020-06-24 14:33:14 +01:00
README.md replace jest with ava 2020-05-13 11:13:27 +01:00

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