Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 317 Bytes

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) {
  ...
})
Jump to Line
Something went wrong with that request. Please try again.