Files
npm/node_modules/read-installed
2013-06-20 13:15:04 -07:00
..
2013-06-20 13:15:04 -07:00
2012-10-02 12:57:08 -07:00
2013-06-20 13:15:04 -07:00
2013-06-20 13:15:04 -07:00
2013-06-20 13:15:04 -07:00

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