How do I use npm to show the latest version of a module? I am expecting something like npm --latest express to print out v3.0.0.
npm --latest express
v3.0.0
You can use:
npm show {pkg} version
(so npm show express version will return now 3.0.0rc3).
npm show express version
3.0.0rc3
2.1m questions
2.1m answers
60 comments
57.0k users