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
1.4m articles
1.4m replys
5 comments
57.0k users