Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 17 lines (12 sloc) 0.304 kb
cbf5f60 @isaacs Use read-installed dependency
isaacs authored
1 # read-installed
2
3 Read all the installed packages in a folder, and return a tree
4 structure with all the data.
5
6 npm uses this.
7
8 ## Usage
9
10 ```javascript
11 var readInstalled = require("read-installed")
12 // depth is optional, defaults to Infinity
13 readInstalled(folder, depth, function (er, data) {
14 ...
15 })
16 ```
Something went wrong with that request. Please try again.