CoastalCommitsPastes/server/node_modules/is-yarn-global
2022-03-06 16:46:59 -08:00
..
.travis.yml Initial commit 2022-03-06 16:46:59 -08:00
index.js Initial commit 2022-03-06 16:46:59 -08:00
LICENSE Initial commit 2022-03-06 16:46:59 -08:00
package.json Initial commit 2022-03-06 16:46:59 -08:00
README.md Initial commit 2022-03-06 16:46:59 -08: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