NPM check the version of an installed package



This snippet shows you how to check the version of an installed package with NPM

This gives you the number of the currently installed version.

Example:

The package version is only one of the many available properties that can be queried.
The npm view syntax is as follows:

Some examples: