# find-global-packages

> find all global packages, list them by directory

Latest version **0.0.1** (published 2014-03-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install find-global-packages
pnpm add find-global-packages
yarn add find-global-packages
bun add find-global-packages
```

## 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.0.1 |
| Published | 2014-03-12 |
| First published | 2014-03-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Chris Dickinson |
| Maintainers | chrisdickinson |
| Keywords | find, global, package, packages, list |

## Links

- npm: https://www.npmjs.com/package/find-global-packages
- Repository: https://github.com/chrisdickinson/find-global-packages
- Issues: https://github.com/chrisdickinson/find-global-packages/issues
- npm.io page: https://npm.io/package/find-global-packages

## Dependencies (1)

- [which](https://npm.io/package/which.md) ^1.0.5

## Recent versions

- 0.0.1 (latest) — 2014-03-12
- 0.0.0 — 2014-03-12

## README

# find-global-packages

> one module to rule them all, one module to find them,
> one module to bring them all
>
> and in the darkness, lexically bind them

find all globally installed packages, resolving to a list of directories
representing global packages.

```javascript
var findGlobal = require('find-global-packages')

findGlobal(function(err, dirs) {
  // dirs will be a list of strings representing
  // paths to globally installed packages.
})
```

## API

### findGlobal(ready :Function(err :{Error|null}, dirs :Array\<String\>))

Takes a single node-style callback, resolves to either an error or a list
of directories. Directories are vetted by the presence of a file called
`package.json` (but not its contents).

## License

MIT

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