Skip to content

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

License

Notifications You must be signed in to change notification settings

LitoMore/is-yarn-global

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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