EN
Node.js - check version of installed npm package
1
answers
0
points
How can I check the version of an installed npm package?
I've tried:
npm -v <package-name>
but it prints the version of npm itself.
1 answer
0
points
To see the versions of all packages installed locally use:
npm list
for all packages installed globally:
npm list -g
and if you want to check a specific package version, you can pass its name as an argument like this:
npm list sass
Practical example
0 comments
Add comment