When specifying version of a module on package.json we might need to use the latest version of it. We need a way to know what is the latest version. We can use below command to do that.
1 |
npm show {pkg} version |
example
1 |
npm show express version |
Facebook Comments