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

Use the command:  npm ls <dependency>

Following an example.

Screen Shot 2017-08-07 at 11.16.30 AM

For further information check : https://docs.npmjs.com/cli/ls

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s