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