LitoMore / is-yarn-global

Check if installed by yarn globally without any `fs` calls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Check if installed by yarn globally without any `fs` calls

License:MIT License


Languages

Language:TypeScript 100.0%