is-yarn-global
TypeScript icon, indicating that this package has built-in type declarations

0.4.1 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.4.1
    964,122
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.4.1
    964,122
  • 0.4.0
    57,937
  • 0.3.0
    3,604,769
  • 0.2.0
    1
  • 0.1.0
    0

Package Sidebar

Install

npm i is-yarn-global

Weekly Downloads

4,626,829

Version

0.4.1

License

MIT

Unpacked Size

2.78 kB

Total Files

5

Last publish

Collaborators

  • litomore