Last active
May 27, 2020 15:09
-
-
Save colormono/518243ad08673764c4f008b0c5fe4c34 to your computer and use it in GitHub Desktop.
[NPM] #CLI
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
| # Create user | |
| npm adduser | |
| # Login | |
| npm login | |
| # Current user | |
| npm whoiam | |
| # Package version | |
| npm version | |
| # Update package version | |
| npm version 1.0.1 | |
| # Publish module | |
| npm publish | |
| # Depercate | |
| npm deprecate <pkg>@"< 0.2.3" "critical bug fixed in v0.2.3" | |
| # Unpublish | |
| npm unpublish [<@scope>/]<pkg>[@<version>] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment