How to list npm user-installed packages?

前端 未结 15 2205
后悔当初
后悔当初 2020-12-02 03:09

How do I list the user-installed package ONLY in npm? When I do npm -g list it outputs every package and their dependencies, which is not what I wa

15条回答
  •  离开以前
    2020-12-02 03:50

    I prefer tools with some friendly gui!

    I used npm-gui which gives you list of local and global packages

    The package is at https://www.npmjs.com/package/npm-gui and https://github.com/q-nick/npm-gui

    //Once
    npm install -g npm-gui
    
    cd c:\your-prject-folder
    npm-gui localhost:9000
    

    At your browser http:\\localhost:9000

提交回复
热议问题