Emmanuil 73a9f0ffcf 20.07.2020 | 4 سال پیش | |
---|---|---|
.. | ||
.travis.yml | 4 سال پیش | |
LICENSE | 4 سال پیش | |
README.md | 4 سال پیش | |
index.js | 4 سال پیش | |
package.json | 4 سال پیش |
Check if installed by yarn globally without any fs
calls
$ npm install is-yarn-global
Just require it in your package.
const isYarnGlobal = require('is-yarn-global');
console.log(isYarnGlobal());
MIT © LitoMore