Useful Links
Computer Science
Other Tools and Technologies
npm Package Manager
1. Introduction to npm
2. Getting Started with npm
3. The package.json Manifest File
4. Managing Dependencies
5. The package-lock.json File
6. Semantic Versioning and Version Management
7. npm Scripts and Task Automation
8. Security and Vulnerability Management
9. Working with the npm Registry
10. Advanced npm Features and Configuration
11. Troubleshooting and Problem Resolution
Managing Dependencies
Package Installation
npm install Command
Default Installation Behavior
Installing All Listed Dependencies
Specific Package Installation
Single Package Installation
Package Name Syntax
Version-Specific Installation
Exact Version Installation
Version Range Installation
Installation from Various Sources
npm Registry Installation
Git Repository Installation
Local File Path Installation
Tarball Installation
URL-Based Installation
Dependency Categories
Production Dependencies
--save-prod Flag Usage
Runtime Requirement Management
Development Dependencies
--save-dev Flag Usage
Build Tool Management
Testing Framework Installation
Optional Dependencies
--save-optional Flag Usage
Failure-Tolerant Installation
Peer Dependencies
Host Package Compatibility
Plugin Architecture Support
Global vs Local Package Management
Global Package Installation
-g Flag Usage
System-Wide Tool Access
Global Package Use Cases
Command-Line Utilities
Development Tools
Build Systems
Global Package Management
Listing Global Packages
Updating Global Packages
Removing Global Packages
Package Updates
npm update Command
Updating All Packages
Selective Package Updates
Outdated Package Detection
npm outdated Command
Output Interpretation
Update Planning
Package Removal
npm uninstall Command
Local Package Removal
Global Package Removal
Dependency Cleanup
node_modules Directory
Directory Structure and Organization
Hierarchical Dependency Structure
Flat Dependency Structure
Nested Dependencies
Version Control Considerations
.gitignore Configuration
Repository Size Management
Previous
3. The package.json Manifest File
Go to top
Next
5. The package-lock.json File