# read-installed

> Read all the installed packages in a folder, and return a tree structure with all the data.

Latest version **4.0.3** (published 2015-09-10) · ISC license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install read-installed
pnpm add read-installed
yarn add read-installed
bun add read-installed
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 4.0.3 |
| Published | 2015-09-10 |
| First published | 2012-06-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51 |
| Author | Isaac Z. Schlueter |
| Maintainers | iarna, isaacs, othiym23, zkat |

## Links

- npm: https://www.npmjs.com/package/read-installed
- Repository: https://github.com/isaacs/read-installed
- Homepage: https://github.com/isaacs/read-installed#readme
- Issues: https://github.com/isaacs/read-installed/issues
- npm.io page: https://npm.io/package/read-installed

## Dependencies (7)

- [slide](https://npm.io/package/slide.md) ~1.1.3
- [semver](https://npm.io/package/semver.md) 2 || 3 || 4 || 5
- [debuglog](https://npm.io/package/debuglog.md) ^1.0.1
- [graceful-fs](https://npm.io/package/graceful-fs.md) ^4.1.2
- [util-extend](https://npm.io/package/util-extend.md) ^1.0.1
- [read-package-json](https://npm.io/package/read-package-json.md) ^2.0.0
- [readdir-scoped-modules](https://npm.io/package/readdir-scoped-modules.md) ^1.0.0

## Recent versions

- 4.0.3 (latest) — 2015-09-10
- 4.0.2 — 2015-07-17
- 4.0.1 — 2015-06-25
- 4.0.0 — 2015-04-07
- 3.1.5 — 2014-12-22
- 3.1.4 — 2014-12-19
- 3.1.3 — 2014-09-11
- 3.1.2 — 2014-09-08
- 3.1.1 — 2014-08-29
- 3.1.0 — 2014-08-12
- 3.0.0 — 2014-07-31
- 2.0.7 — 2014-07-23
- 2.0.6 — 2014-07-21
- 2.0.5 — 2014-06-06
- 2.0.4 — 2014-05-22
- … 17 more at https://npm.io/package/read-installed/versions

## README

# read-installed

Read all the installed packages in a folder, and return a tree
structure with all the data.

npm uses this.

## 2.0.0

Breaking changes in `2.0.0`:

The second argument is now an `Object` that contains the following keys:

 * `depth` optional, defaults to Infinity
 * `log` optional log Function
 * `dev` optional, default false, set to true to include devDependencies

## Usage

```javascript
var readInstalled = require("read-installed")
// optional options
var options = { dev: false, log: fn, depth: 2 }
readInstalled(folder, options, function (er, data) {
  ...
})
```

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