node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

npmdep

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