node/deps/npm/node_modules/read-installed/README.md

17 lines
317 B
Markdown
Raw Normal View History

2012-06-16 01:00:30 +08:00
# 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
2013-07-10 04:09:02 +08:00
readInstalled(folder, depth, logFunction, function (er, data) {
2012-06-16 01:00:30 +08:00
...
})
```