Node.js Package Management & Supply-Chain

Parent: JavaScript and Node.js · researched 2026-06-02T20:15:41.745Z· 13 sources · 6 concepts · skill nodejs-package-management-supply-chain

This reference is the consumer side of the npm ecosystem: how you *install,

Overview

1. The package managers — install models that differ at the layout layer

2. Lockfiles — the reproducibility contract

3. Workspaces / monorepos

4. Dependency resolution & semver

5. npm scripts & lifecycle

6. Supply-chain security

Practical patterns

Anti-patterns

Troubleshooting

References

Children

Frontier under this node: Dependency resolution & semver (ranges, dedupe, overrides, peerDependencies, optionalDependencies, engines), Lockfiles and the reproducible-install contract (npm ci vs install, integrity hashes), Supply-chain security (npm audit, provenance/sigstore, install-scripts defense, dependency confusion, lockfile injection, corepack pinning), The package managers — npm / pnpm / Yarn Berry (PnP) / bun install models and node_modules layout, Workspaces / monorepos and the workspace: protocol, npm scripts & lifecycle (pre/post hooks, install hooks, node --run skip)

← the whole tree · 3D view· how to read this page