Backend/node_modules/is-yarn-global
2021-12-31 15:03:23 +05:30
..
.travis.yml 20211231 commit 2021-12-31 15:03:23 +05:30
index.js 20211231 commit 2021-12-31 15:03:23 +05:30
LICENSE 20211231 commit 2021-12-31 15:03:23 +05:30
package.json 20211231 commit 2021-12-31 15:03:23 +05:30
README.md 20211231 commit 2021-12-31 15:03:23 +05:30

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