《问》How to Find the version of an installed and uninstalled npm package

《问》

How to Find the version of an installed and uninstalled npm package



for globally installed packages

npm list -g | grep YOUR_PACKAGE

for local installed packages

npm list | grep YOUR_PACKAGE

the latest available version on the package

npm info YOUR_PACKAGE version

Comments

Popular posts from this blog

Ruby语言的设计思想

Ruby语言比较讲座:单引号和双引号的比较