Compute dependency graphs for npm
JavaScript
Switch branches/tags
Nothing to show
Latest commit 4909556 Feb 21, 2011 @substack bump for #!
Permalink
Failed to load latest commit information.
README.markdown preview images for the readme Jan 28, 2011
cli.js bump for #! Feb 21, 2011
index.js now using hashish in addition to traverse Feb 18, 2011
package.json

README.markdown

npmdep

Build dependency graphs for npm packages.

Usage

  • npmdep update

Fetch the list of packages (do this first)

  • npmdep requires [pkg]

Show which packages require the package pkg.

$ npmdep requires optimist
deja
forever
htracr
http-proxy
m1node
macrotest
nmd
pulverizr
ready.js
restartr
watch-tree
yeti
  • npmdep tree [pkg]

Print out a tree of dependencies for the package pkg.

$ npmdep tree seq
seq
-- chainsaw
---- traverse
-- traverse
  • npmdep graph [image.png] {graphviz filter = fdp}

Generate a graph of npm with graphviz.

npmdep graph npm-fdp.png fdp

npm fdp

npmdep graph npm-twopi.png twopi

npm twopi