# installed-by-yarn-globally

> Check if a directory lies in the directory for globally installed modules of Yarn.

Latest version **0.1.2** (published 2017-01-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install installed-by-yarn-globally
pnpm add installed-by-yarn-globally
yarn add installed-by-yarn-globally
bun add installed-by-yarn-globally
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2017-01-19 |
| First published | 2016-11-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 15 |
| Author | EGOIST |
| Maintainers | rem |
| Keywords | yarn |

## Links

- npm: https://www.npmjs.com/package/installed-by-yarn-globally
- Repository: https://github.com/egoist/installed-by-yarn-globally
- Homepage: https://github.com/egoist/installed-by-yarn-globally#readme
- Issues: https://github.com/egoist/installed-by-yarn-globally/issues
- npm.io page: https://npm.io/package/installed-by-yarn-globally

## Dependencies (1)

- [user-home](https://npm.io/package/user-home.md) ^2.0.0

## Recent versions

- 0.1.2 (latest) — 2017-01-19
- 0.1.1 — 2016-11-19
- 0.1.0 — 2016-11-19

## README

# installed-by-yarn-globally

[![NPM version](https://img.shields.io/npm/v/installed-by-yarn-globally.svg?style=flat-square)](https://npmjs.com/package/installed-by-yarn-globally) [![NPM downloads](https://img.shields.io/npm/dm/installed-by-yarn-globally.svg?style=flat-square)](https://npmjs.com/package/installed-by-yarn-globally) [![Build Status](https://img.shields.io/circleci/project/egoist/installed-by-yarn-globally/master.svg?style=flat-square)](https://circleci.com/gh/egoist/installed-by-yarn-globally)

## Install

```bash
$ npm install --save installed-by-yarn-globally
```

## Usage

```js
const isGlobal = require('installed-by-yarn-globally')

isGlobal(__dirname)
//=> false
```

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

## License

[MIT](https://egoist.mit-license.org/) © [EGOIST](https://github.com/egoist)

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