federation/gateway/node_modules/is-yarn-global
2020-11-14 16:43:58 +01:00
..
.travis.yml demo project 2020-11-14 16:43:58 +01:00
index.js demo project 2020-11-14 16:43:58 +01:00
LICENSE demo project 2020-11-14 16:43:58 +01:00
package.json demo project 2020-11-14 16:43:58 +01:00
README.md demo project 2020-11-14 16:43:58 +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