0.0.4 • Published 13 years ago

npmdep v0.0.4

Weekly downloads
3
License
-
Repository
github
Last release
13 years ago

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