Skip to content

Left-Pad Incident

Easy — everyone uses thisFrontend

ELI5 — The Vibe Check

The left-pad incident is when one developer unpublished an 11-line npm package and broke the entire internet in 2016. The package just added spaces to the left side of a string. But thousands of packages depended on it, including React and Babel. When it disappeared, builds failed worldwide. It proved that modern software is a house of cards, and one angry developer can knock it down.

Real Talk

The left-pad incident (March 2016) occurred when developer Azer Koçulu unpublished all his npm packages, including left-pad (an 11-line string-padding utility), after a dispute with npm Inc. over a package name. The removal broke thousands of builds across the JavaScript ecosystem because left-pad was a transitive dependency of major packages. npm responded by preventing unpublishing of packages with dependents, fundamentally changing registry policy.

When You'll Hear This

"The left-pad incident proved we need lockfiles and dependency auditing." / "Are we really depending on a 3-line package? Remember left-pad."

Made with passive-aggressive love by manoga.digital. Powered by Claude.