Useful Links
Computer Science
Other Tools and Technologies
pnpm Package Manager
1. Introduction to pnpm
2. Core Concepts and Architecture
3. Getting Started
4. Managing Dependencies
5. Running Scripts and Executing Binaries
6. Workspaces and Monorepos
7. Configuration
8. Advanced Features and Commands
9. Lockfiles and Dependency Management
10. Performance and Optimization
11. Troubleshooting and Debugging
12. Comparison and Migration
13. Integration with Development Tools
14. Framework and Tool Integration
15. Security and Auditing
16. Publishing and Distribution
Core Concepts and Architecture
The Global Content-Addressable Store
Purpose and Benefits
Location and Structure
Default Store Path
Custom Store Locations
How Files are Stored
Content-Addressable Storage
Deduplication of Packages
Hashing and Content Integrity
Hash Algorithms Used
Verifying Package Integrity
The node_modules Structure
Non-Flat node_modules Layout
Comparison with npm and Yarn
Benefits of Non-Flat Structure
The .pnpm Subdirectory
Purpose and Contents
Relationship to node_modules
Role of Symlinks
How Symlinks Work in pnpm
Benefits and Limitations
Role of Hard Links
Hard Links vs Symlinks
Impact on Disk Usage
Dependency Resolution
Strictness and Isolation
Isolated Dependency Trees
Preventing Cross-Package Leaks
Preventing Phantom Dependencies
Enforcement Mechanisms
Error Handling
Peer Dependency Management
Automatic Installation
Peer Dependency Warnings and Errors
Previous
1. Introduction to pnpm
Go to top
Next
3. Getting Started