3 Read all the installed packages in a folder, and return a tree
4 structure with all the data.
10 Breaking changes in `2.0.0`:
12 The second argument is now an `Object` that contains the following keys:
14 * `depth` optional, defaults to Infinity
15 * `log` optional log Function
16 * `dev` optional, default false, set to true to include devDependencies
21 var readInstalled = require("read-installed")
23 var options = { dev: false, log: fn, depth: 2 }
24 readInstalled(folder, options, function (er, data) {