docker-lemp-node/www/nodejs/node_modules/is-yarn-global
2022-03-27 18:02:38 +02:00
..
.travis.yml upload 2022-03-27 18:02:38 +02:00
index.js upload 2022-03-27 18:02:38 +02:00
LICENSE upload 2022-03-27 18:02:38 +02:00
package.json upload 2022-03-27 18:02:38 +02:00
README.md upload 2022-03-27 18:02:38 +02: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