Підтримка робочого простору | ✅ | ✅ | ✅ | |
Ізольований node_modules | ✅ | ✅ | ✅ | Default in pnpm. |
Піднятий (Hoisted) node_modules | ✅ | ✅ | ✅ | Default in npm. |
Plug'n'Play | ✅ | ✅ | ❌ | Default in Yarn. |
Автоматичне встановлення прямих залежностей | ✅ | ❌ | ✅ | |
Zero-Installs | ❌ | ✅ | ❌ | |
Виправлення залежностей | ✅ | ✅ | ❌ | |
Керування версіями Node.js | ✅ | ❌ | ❌ | |
Managing versions of itself | ✅ | ✅ | ❌ | |
Має файл блокування (lockfile) | ✅ | ✅ | ✅ | pnpm-lock.yaml , yarn.lock , package-lock.json . |
Замінює підтримку | ✅ | ✅ | ✅ | Known as "resolutions" in Yarn. |
Сховище з адресацією вмісту | ✅ | ✅ | ❌ | Yarn uses a CAS when nodeLinker is set to pnpm . |
Динамічний запуск пакунків | ✅ | ✅ | ✅ | pnpm dlx , yarn dlx , npx . |
Кеш побічних ефектів (Side-effects cache) | ✅ | ❌ | ❌ | |
Каталоги | ✅ | ❌ | ❌ | |
Config dependencies | ✅ | ❌ | ❌ | |
JSR registry support | ✅ | ✅ | ❌ | |
Auto-install before script run | ✅ | ❌ | ❌ | In Yarn, Plug'n'Play ensures dependencies are always up to date. |
Хуки | ✅ | ✅ | ❌ | |
Список ліцензій | ✅ | ✅ | ❌ | pnpm supports it via pnpm licenses list . Yarn has a plugin for it. |