Package Managers

Installing, pinning, and auditing dependencies — and why the lockfile is the file that matters.

4 articles

Yarn

Listed inYarnPackage Managerson

Berry versus classic, Plug’n’Play, and what migrating an existing repo actually involves.

Intermediate6 minDraft
#tooling
#dependencies

pnpm

Listed inpnpmPackage Managerson

Content-addressed storage and a strict node_modules layout that surfaces undeclared dependencies.

Intermediate6 minDraft
#tooling
#dependencies

npm

Listed innpmPackage Managerson

The default: scripts, semver ranges, `npm ci`, overrides, and reading a lockfile diff.

Beginner8 minDraft
#tooling
#dependencies

Bun

Listed inBunPackage Managerson

A runtime, bundler, and package manager in one binary — where it is a drop-in and where it is not.

Intermediate6 minDraft
#tooling
#runtime