How to view the dependency tree of a given npm module?

How can I get the tree of a module available to npm, but not installed locally ?

npm ll does the job for locally installed packages. But it doesn’t work for modules not installed or modules installed globally.

I tried npm list bower but that’s not it.

11 Answers
11

Leave a Comment