Easily see the dependency graph of your npm project!
npm install -g easy-dep-graph
Run the following command on the folder where you package.json is:
npx easy-dep-graph
A list of packages to show on the graph separated by ','. (By default it shows all packages)
Command: --packages <packages names>
Example:
npx easy-dep-graph --packages open,mustache,fastify
This option will only show on graph the packages that depend on the submited package.
Command: --package-dependents <package name>
Example:
npx easy-dep-graph --package-dependents is-docker
The port number to be used when serving the dependency graph. (Default is 8080)
Command: --port <port number>
Example:
npx easy-dep-graph --port 8000
Flag to not open the browser after the depedency graph is done.
Command: --no-open
Example:
npx easy-dep-graph --no-open
Version 1.0:
- published library
No FAQs for now. (⌐■_■)