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


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

npm uses this.


var readInstalled = require("read-installed")
// depth is optional, defaults to Infinity
readInstalled(folder, depth, function (er, data) {
Jump to Line
Something went wrong with that request. Please try again.