0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/deps/npm/node_modules/read-installed
2013-07-09 13:09:02 -07:00
..
test npm: Upgrade to 1.3.2 2013-07-09 13:09:02 -07:00
LICENSE
package.json npm: Upgrade to 1.3.2 2013-07-09 13:09:02 -07:00
read-installed.js npm: Upgrade to 1.3.2 2013-07-09 13:09:02 -07:00
README.md npm: Upgrade to 1.3.2 2013-07-09 13:09:02 -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) {
  ...
})