tree: 5ed883cd7e772e5c26b3d0254cf7f5a6638f589f [path history] [tgz]
  1. test/
  2. LICENSE
  3. package.json
  4. read-installed.js
  5. README.md
csrc/node-v0.10.24/deps/npm/node_modules/read-installed/README.md

read-installed

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

npm uses this.

Usage

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