how to check number of install package in angular | How to list npm user-installed packages?

How to list npm user-installed packages?

 

Solution

npm list -g --depth=0

  • npm: the Node package manager command line tool
  • list -g: display a tree of every package found in the user’s folders (without the -g option it only shows the current directory’s packages)
  • --depth 0 / --depth=0: avoid including every package’s dependencies in the tree view.


Reference Link








Post a Comment

Previous Post Next Post