node package manager


Print a graph of all modules a file depends on


Output a graph of all the files that are required by a JS source file, using the same dependency resolution as browserify. This will recursively search for required files.

npm install -g browserify-graph
browserify-graph <file>

Outputs a graph of all required files, starting at <file>.