How can we check the current version of NPM code example
Example 1: checking the npm version
// Any of the below command will work.
npm -v
npm --v
npm -version
npm --version
Example 2: npm get version
npm view <package> version
// Any of the below command will work.
npm -v
npm --v
npm -version
npm --version
npm view <package> version