If you want to find the the version of an installed NPM packages from your local or server, Using the "npm" command able to find the package version which has installed in locally and globally,

Use the command below for Locally installed packages with version

npm list 


with the option -g find the Globally installed packages with version

npm list -g


Also you can find the version of a specific package version with an argument,

npm list <PACKAGE_NAME>


To find out what are the packages are installed locally and with their dependencies is to use, just add with an option --depth=0

npm list --depth=0