Thursday, 23 September 2021

NPM Specific Version Package

 

How To Know Package Versions Available




If you want to know the exact version of a package to install, you can simply search for it on the npm public registry database

Or, you can simply run the following command to check the available versions on the npm registry:

  npm view [package-name] versions

 

If you want to know the specific latest version of a package available on the npm registry, run the following command:

  npm view [package-name] version

 

For example, here is how you can check the latest version of the Renovate package:

resource :

https://www.whitesourcesoftware.com/free-developer-tools/blog/npm-install-specific-version/

No comments:

Post a Comment