mirror of
https://github.com/Priyatham-sai-chand/Locaft-backend.git
synced 2026-10-05 08:51:33 -07:00
769 B
769 B
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