[NodeJS] – How to get the version used/installed of some dependency?

Use the command:  npm ls <dependency> Following an example. For further information check : https://docs.npmjs.com/cli/ls