sponsors
来源:pnpm
浏览 143
扫码
分享
2023-02-22 21:53:52
Feature Comparison
Feature | pnpm | Yarn | npm |
---|
Workspace support | ✔️ | ✔️ | ✔️ |
Isolated node_modules | ✔️ - The default | ✔️ | ❌ |
Hoisted node_modules | ✔️ | ✔️ | ✔️ - The default |
Plug’n’Play | ✔️ | ✔️ - The default | ❌ |
Zero-Installs | ❌ | ✔️ | ❌ |
Patching dependencies | ❌ | ✔️ | ❌ |
Managing Node.js versions | ✔️ | ❌ | ❌ |
Has a lockfile | ✔️ - pnpm-lock.yaml | ✔️ - yarn.lock | ✔️ - package-lock.json |
Overrides support | ✔️ | ✔️ - Via resolutions | ✔️ |
Content-addressable storage | ✔️ | ❌ | ❌ |
Dynamic package execution | ✔️ - Via pnpm dlx | ✔️ - Via yarn dlx | ✔️ - Via npx |
当前内容版权归
pnpm 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问
pnpm .