npm.io
0.4.1 • Published 3 years ago

is-yarn-global

Licence
MIT
Version
0.4.1
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
5

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.

import isYarnGlobal from 'is-yarn-global';

console.log(isYarnGlobal());

License

MIT LitoMore