Print a list of all installed node.js modules

后端 未结 7 1994
情话喂你
情话喂你 2020-12-22 17:29

In a node.js script that I\'m working on, I want to print all node.js modules (installed using npm) to the command line. How can I do this?

console.log(__fil         


        
相关标签:
7条回答
  • 2020-12-22 18:02

    in any os

    npm -g list
    

    and thats it

    0 讨论(0)
提交回复
热议问题