DiscofyAPI/node_modules/is-yarn-global
onsaliyo 218326c402 API inicial 2021-03-25 17:23:36 +01:00
..
.travis.yml API inicial 2021-03-25 17:23:36 +01:00
LICENSE API inicial 2021-03-25 17:23:36 +01:00
README.md API inicial 2021-03-25 17:23:36 +01:00
index.js API inicial 2021-03-25 17:23:36 +01:00
package.json API inicial 2021-03-25 17:23:36 +01:00

README.md

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