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

后端 未结 10 1634
眼角桃花
眼角桃花 2020-12-22 16:40

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 wor

10条回答
  •  太阳男子
    2020-12-22 17:25

    Unfortunately npm still doesn't have a way to view dependencies of non-installed packages. Not even a package's page list the dependencies correctly.

提交回复
热议问题