# is-yarn-global

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

Latest version **0.4.1** (published 2022-11-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-yarn-global
pnpm add is-yarn-global
yarn add is-yarn-global
bun add is-yarn-global
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.1 |
| Published | 2022-11-14 |
| First published | 2018-01-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=12 |
| Dependencies | 0 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | LitoMore |
| Maintainers | litomore |

## Links

- npm: https://www.npmjs.com/package/is-yarn-global
- Repository: https://github.com/LitoMore/is-yarn-global
- Homepage: https://github.com/LitoMore/is-yarn-global#readme
- Issues: https://github.com/LitoMore/is-yarn-global/issues
- npm.io page: https://npm.io/package/is-yarn-global

## Recent versions

- 0.4.1 (latest) — 2022-11-14
- 0.4.0 — 2021-04-25
- 0.3.0 — 2018-02-15
- 0.2.0 — 2018-01-23
- 0.1.0 — 2018-01-12

## README

# is-yarn-global

[![](https://img.shields.io/npm/v/is-yarn-global.svg)](https://www.npmjs.com/package/is-yarn-global)
[![](https://img.shields.io/npm/l/is-yarn-global.svg)](https://github.com/LitoMore/is-yarn-global/blob/master/LICENSE)
[![](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)

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

## Install

```bash
$ npm install is-yarn-global
```

## Usage

Just require it in your package.

```javascript
import isYarnGlobal from 'is-yarn-global';

console.log(isYarnGlobal());
```

## License

MIT © [LitoMore](https://github.com/LitoMore)

---
_Source: https://npm.io/package/is-yarn-global · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
