You can use npm list command to search for local packages and npm list -g for globally installed packages.

Find specific package version

You can find the version of a specific package by passing its name as an argument. For example, npm list grunt will result in:

Find all packages version

Alternatively, you can just run npm list without passing a package name as an argument to see the versions of all the packages installed in your current project. Use -g to find globally installed packages. Output: Above list shows all the packages installed including there dependencies You can also add –depth=0 argument to list installed packages without their dependencies.

Find packages require updates

To find out which packages need to be updated, you can use npm outdated command to list all packages installed with older versions.

How to find installed npm package version   TecAdmin - 95