NPM Commands - Cheatsheet
NPM Commands - Cheatsheet
1. Getting Started
2. Installing Packages
3. Updating Packages
4. Removing Packages
5. Listing Packages
6. Package Information
8. Publishing Packages
9. Miscellaneous Commands
10. Troubleshooting
13. Security
● npm set init-author-name 'Your Name': Set author name for npm init.
● npm config set registry <registry_url>: Set a custom registry.
43. Shrinkwrapping
● npm cache add <tarball file>: Add a package tarball to your cache.