Files
FloatApi/node_modules/is-yarn-global
2022-03-07 22:07:57 +07:00
..
2022-03-07 22:07:57 +07:00
2022-03-07 22:07:57 +07:00
2022-03-07 22:07:57 +07:00
2022-03-07 22:07:57 +07:00
2022-03-07 22:07:57 +07: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