sonia-js/node_modules/is-yarn-global
2024-07-20 14:47:23 -06:00
..
.travis.yml init 2023-03-30 09:45:31 +00:00
index.js init 2023-03-30 09:45:31 +00:00
LICENSE init 2023-03-30 09:45:31 +00:00
package.json a 2024-07-20 14:47:23 -06:00
README.md init 2023-03-30 09:45:31 +00: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