sonia-js/commands/node_modules/is-yarn-global
2024-07-20 14:47:23 -06:00
..
.travis.yml a 2024-07-20 14:47:23 -06:00
index.js a 2024-07-20 14:47:23 -06:00
LICENSE a 2024-07-20 14:47:23 -06:00
package.json a 2024-07-20 14:47:23 -06:00
README.md a 2024-07-20 14:47:23 -06: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