Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Compute dependency graphs for npm
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.markdown
cli.js
index.js
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

Something went wrong with that request. Please try again.