Show Available NPM Package Versions

Since I have been working with node and npm, I find myself updating packages and dealing with package dependencies. It is helpful to see a list of all versions currently published in npm for a given package. Here is the syntax:

npm show <package-name> versions


 > npm show bootstrap-css-only versions
[ '2.3.2-1',
  '4.0.0-beta.2' ]


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.