node/deps/npm/node_modules/read-installed
isaacs 75bc11cf12 npm: upgrade to 1.4.7
* isaacs, Robert Kowalski, Benjamin Coe: Test Improvements
* isaacs doc: Add canonical url
* isaacs view: handle unpublished packages properly
* Raynos (Jake Verbaten) do not log if silent
* Julian Gruber fix no such property error
* isaacs npmconf@0.1.14
* Thorsten Lorenz adding save-prefix configuration option
* isaacs npm-registry-client@0.4.7
* isaacs cache: treat missing versions as a 404
* isaacs cache: Save shasum, write resolved/etc data to cache
* isaacs cache: Always fetch root doc
* isaacs cache: don't repack unnecessarily from tmp
* Andrey Kislyuk Don't crash if shrinkwrap-dependencies were not passed in pkginfo
* Robert Kowalski fix link in faq
* Jean Lauliac Add a peerDependencies section in package.json doc
* isaacs read-installed@2.0.2
2014-04-15 15:31:36 -07:00
..
node_modules/util-extend npm: upgrade to 1.4.6 2014-03-25 17:42:22 -07:00
test npm: upgrade to 1.4.6 2014-03-25 17:42:22 -07:00
.npmignore npm: upgrade to 1.4.6 2014-03-25 17:42:22 -07:00
LICENSE npm: upgrade to 1.3.11 2013-09-07 14:31:04 -05:00
README.md npm: upgrade to 1.4.6 2014-03-25 17:42:22 -07:00
package.json npm: upgrade to 1.4.7 2014-04-15 15:31:36 -07:00
read-installed.js npm: upgrade to 1.4.7 2014-04-15 15:31:36 -07:00

README.md

read-installed

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

npm uses this.

2.0.0

Breaking changes in 2.0.0:

The second argument is now an Object that contains the following keys:

  • depth optional, defaults to Infinity
  • log optional log Function
  • dev optional, default false, set to true to include devDependencies

Usage

var readInstalled = require("read-installed")
// optional options
var options = { dev: false, log: fn, depth: 2 }
readInstalled(folder, options, function (er, data) {
  ...
})