OCA_Backend/api/node_modules/is-yarn-global
2022-01-22 19:06:44 +05:30
..
.travis.yml service,offer 2022-01-22 19:06:44 +05:30
index.js service,offer 2022-01-22 19:06:44 +05:30
LICENSE service,offer 2022-01-22 19:06:44 +05:30
package.json service,offer 2022-01-22 19:06:44 +05:30
README.md service,offer 2022-01-22 19:06:44 +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