Easy way to list node modules I have npm linked?

前端 未结 9 1119
情话喂你
情话喂你 2021-01-29 21:55

I am looking for a command that will list the names of global modules that I have npm link\'d to local copies, also listing the local path.

In fact, a list

9条回答
  •  一个人的身影
    2021-01-29 22:34

    I didn't see anyone say it yet. On Windows you can just look at the directory:

    C:\Users\[username]\AppData\Roaming\npm\node_modules
    

    You should see any of the sim linked libs listed there, along side any global library installs.

提交回复
热议问题