summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/read-installed/README.md
blob: 59e882fb047175200dac29bb42579f2e33b9c95d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# read-installed

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

npm uses this.

## Usage

```javascript
var readInstalled = require("read-installed")
// depth is optional, defaults to Infinity
readInstalled(folder, depth, function (er, data) {
  ...
})
```