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

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i is-yarn-global

    Weekly Downloads

    4,659,334

    Version

    0.4.1

    License

    MIT

    Unpacked Size

    2.78 kB

    Total Files

    5

    Last publish

    Collaborators

    • litomore