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

Example

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