跳到主要内容
pnpm
文档目录

功能对比

查看英文原文 ↗

FeaturepnpmnpmNotes
Workspace support
Isolated node_modulespnpm 中的默认行为。
Hoisted node_modulesnpm 中的默认行为。
Plug'n'Play
Autoinstalling peers
Patching dependencies
Managing runtimes
Managing versions of itself
有锁文件pnpm-lock.yaml, package-lock.json.
Overrides support
内容寻址存储
Dynamic package executionpnx, npx.
Side-effects cache
Catalogs
Config dependencies
JSR registry support
Auto-install before script run
Hooks
Build script security
SBOM generationpnpm sbom, npm sbom.
Listing licensespnpm 通过 pnpm licenses list 支持它。

**注意:**为了保持对比简洁,我们只包含可能经常使用的功能。

本页内容译自pnpm 官方文档(MIT License),如有出入以英文原文为准。