|
|
há 5 anos atrás | |
|---|---|---|
| .. | ||
| .travis.yml | há 5 anos atrás | |
| LICENSE | há 5 anos atrás | |
| README.md | há 5 anos atrás | |
| index.js | há 5 anos atrás | |
| package.json | há 5 anos atrás | |
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