node/deps/npm/node_modules/read-installed
isaacs a22de4f7ee npm: Upgrade to 1.3.17 2013-12-11 10:20:26 -08:00
..
test npm: Upgrade to 1.3.2 2013-07-09 13:09:02 -07:00
LICENSE npm: upgrade to 1.3.11 2013-09-07 14:31:04 -05:00
README.md npm: Upgrade to 1.3.2 2013-07-09 13:09:02 -07:00
package.json npm: Upgrade to 1.3.17 2013-12-11 10:20:26 -08:00
read-installed.js npm: Upgrade to 1.3.17 2013-12-11 10:20:26 -08:00

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) {
  ...
})