Express_Crud_Example/node_modules/is-yarn-global
2022-01-28 22:33:42 +01:00
..
.travis.yml init 2022-01-28 22:33:42 +01:00
index.js init 2022-01-28 22:33:42 +01:00
LICENSE init 2022-01-28 22:33:42 +01:00
package.json init 2022-01-28 22:33:42 +01:00
README.md init 2022-01-28 22:33:42 +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