Node.Js - How to find version all of the packages installed in node_modules directory?

How to find the version of all the locally installed Node.js/npm packages?

Posted by Amritpal Singh on February 04, 2018

Use the following command in root directory of the node application to find out what packages are installed locally and without their dependencies:

npm list --depth=0

This will output something like this:

├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

0 Comments


Add Comment