Created
August 17, 2017 03:41
-
-
Save sahajamit/41aa9b1dca74770ade20404cc19bea1d to your computer and use it in GitHub Desktop.
npm commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm view <package> version - returns the latest available version on the package. | |
npm list --depth=0 - returns versions of all installed modules without dependencies. | |
npm list - returns versions of all modules and dependencies. | |
npm list -g - returns versions of all modules and dependencies globally | |
node -v | |
npm info YOUR_PACKAGE version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment