how to check any package version using command line javascript code example
Example: npm check package version
local packages:
~$ npm list
globally installed packages:
~$ npm list -g
specific package:
~$ npm list <package>
local packages:
~$ npm list
globally installed packages:
~$ npm list -g
specific package:
~$ npm list <package>