Skip to content

Commit af8bdd8

Browse files
committed
docs: improve features comparison
1 parent c9ce5b5 commit af8bdd8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/feature-comparison.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ title: Feature Comparison
66
| Feature |pnpm|Yarn|npm | Notes |
77
| --- |:--:|:--:|:--:| --- |
88
| Workspace support | ✔️ | ✔️ | ✔️ |
9-
| Isolated `node_modules` | ✔️ | ✔️ | ✔️ | For pnpm this is the default one |
10-
| Hoisted `node_modules` | ✔️ | ✔️ | ✔️ | For npm this is the default one |
9+
| Isolated `node_modules` | ✔️ | ✔️ | ✔️ | Default in pnpm. |
10+
| Hoisted `node_modules` | ✔️ | ✔️ | ✔️ | Default in npm. |
11+
| Plug'n'Play | ✔️ | ✔️ || Default in Yarn. |
1112
| Autoinstalling peers | ✔️ || ✔️ |
12-
| Plug'n'Play | ✔️ | ✔️ || For Yarn this is the default one |
1313
| Zero-Installs || ✔️ ||
1414
| Patching dependencies | ✔️ | ✔️ ||
1515
| Managing Node.js versions | ✔️ |||
1616
| Managing versions of itself | ✔️ | ✔️ ||
17-
| Has a lockfile | ✔️ | ✔️ | ✔️ | `pnpm-lock.yaml`, `yarn.lock`, `package-lock.json` |
18-
| Overrides support | ✔️ | ✔️ | ✔️ | Yarn calls this feature "resolutions" |
17+
| Has a lockfile | ✔️ | ✔️ | ✔️ | `pnpm-lock.yaml`, `yarn.lock`, `package-lock.json`. |
18+
| Overrides support | ✔️ | ✔️ | ✔️ | Known as "resolutions" in Yarn. |
1919
| Content-addressable storage | ✔️ |||
20-
| Dynamic package execution | ✔️ | ✔️ | ✔️ | `pnpm dlx`, `yarn dlx`, `npx` |
20+
| Dynamic package execution | ✔️ | ✔️ | ✔️ | `pnpm dlx`, `yarn dlx`, `npx`. |
2121
| Side-effects cache | ✔️ |||
2222
| [Catalogs] | ✔️ |||
2323
| [Config dependencies] | ✔️ |||
2424
| [JSR registry support] | ✔️ | ✔️ ||
25-
| [Running install automatically before running scripts] | ✔️ ||| In case of Yarn, if Plug'n'Play is used, dependencies are always up-to-date |
25+
| [Running install automatically before running scripts] | ✔️ ||| In Yarn, Plug'n'Play ensures dependencies are always up to date. |
2626
| [Hooks] | ✔️ | ✔️ ||
2727
| Listing licenses | ✔️ | ✔️ || pnpm supports it via `pnpm licenses list`. Yarn has a plugin for it. |
2828

0 commit comments

Comments
 (0)