mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
.. | ||
test | ||
LICENSE | ||
package.json | ||
read-installed.js | ||
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) {
...
})