On the afternoon of March 22, 2016, programmers around the world started seeing the same error. Their software could no longer be put together. Something it needed had disappeared, and within minutes npm, the company that runs a huge public shelf of free code for websites, was counting hundreds of failures a minute.[1]

The missing piece was called left-pad. It was 11 lines long.[2] Its whole job was to add spaces or zeros to the front of a bit of text so that it lines up, the way "7" can become "007". About two and a half million downloads of it had been made in the month before.[2]

Among the projects that fell over were Babel and Node, tools that a great many web programmers use every day, and React, the Facebook-made toolkit behind a huge number of websites.[2][3] All of them had stopped working because one man in Oakland had pressed delete.

A name worth fighting over

The man was Azer Koçulu. He was 28, born in Turkey, and had taught himself to program after high school, crediting the community of people who share free code for most of what he knew.[3] Over the years he had put hundreds of small pieces of code on npm for anyone to use at no cost.[3] One of his side projects was called kik.

On March 11, 2016, he got an email from Bob Stratton, a patent and trademark agent doing contract work for Kik, a messaging app based in Ontario with more than 200 million users.[3][4] Kik wanted to publish its own code under the name kik, and Koçulu's project was in the way.[5][6]

Koçulu said no, because he was building a project with that name. Stratton wrote back, "We don't mean to be a dick about it," and pointed out that Kik was a registered trademark in most countries.[3] He asked whether they could reach a compromise without involving lawyers, and whether there was something Kik could offer him in return.[4]

Koçulu's answer began, "Hahah, you're actually being a dick," and ended with a short curse and a request not to email him again.[3] At some point in the exchange he named a price: $30,000 to give up the name.[3]

npm hands the name to Kik

Kik took the matter to npm, which had a written policy for fights over names. Its reasoning was simple. Most people who typed "kik" to fetch some code would expect something from the messaging company, and they would be confused to get a stranger's project instead.[5][6]

On March 18, Isaac Schlueter, who ran npm, agreed to move the name to Kik.[3] Koçulu had known Schlueter for years, and he wrote to him that he never imagined him siding with corporate lawyers against people who give their work away.[3]

Two days later Koçulu asked npm to remove everything he had ever published there.[3] By his own account, npm sent him a small program that deleted all of it in one go.[7] Reports put the number of pieces at 273, though Koçulu later remembered it as about 350.[8][7] On his blog he wrote that the episode had shown him npm was someone's private property, where a company counted for more than people.[2]

Two and a half hours

Most of those pieces were small and, from the outside, looked unused. npm did not show how many people relied on them, so Koçulu had no easy way to know.[7] Left-pad was the exception. Huge projects did not ask for it directly. They used other small pieces that used it, and so on down the chain. Babel, Atom, Ember and React Native all reached it through a piece called line-numbers.[5]

Koçulu learned what had happened about ten minutes after leaving his desk, when a friend got hold of him on Twitter.[7]

At npm, help arrived fast. Within ten minutes a programmer named Cameron Westland had published a copy of left-pad that did exactly the same thing.[1] It did not fix everything. Many projects were set to ask for one particular old version, and the copy did not match it.[1]

So npm did something it normally refused to do. It put the original back from a backup. It announced the step at 4:05 in the afternoon, Pacific time, and finished at 4:55. From start to finish the trouble had lasted about two and a half hours.[1] npm's technical chief, Laurie Voss, explained the choice plainly: "we picked the needs of the many."[2]

There was a second, quieter worry. Once Koçulu's names were free, anyone could have published something under them, including something harmful. Other programmers rushed to claim the empty names with copies and harmless stand-ins.[1]

Ordinary people browsing the web mostly saw nothing. Sites that were already up kept running. The damage landed on programmers trying to build or update their work that afternoon.[6]

Who got the blame

npm said the trouble came from the sudden deletion, not from its decision about the name, and that it stood by that decision.[1] Kik's head of messenger, Mike Roberts, published the whole email exchange on Medium to show the company's side.[4] He also admitted that Kik's wording had not been perfect, and Kik apologized for the way it had approached Koçulu.[2][8]

Koçulu said he was very sorry for interrupting people's work, but that he had acted for the good of the community in the long run.[6] A week later he told The Register he had no regrets.[8]

Some programmers turned the question around. Writing about the mess, the developer David Haney asked why so many people leaned on a stranger for something they could have written themselves in a few minutes.[8]

The rule that changed

On March 29, npm changed its rules. Anyone could still take back something they had published, but only within 24 hours. After that, they had to ask npm's support team, and npm would say no if removing it would break other people's work.[9] If every version of something was removed, npm would put a placeholder in its place so that no one else could quietly grab the name.[9]

Koçulu handed his projects over to volunteers.[7] A few months later he quit his job and left the United States for good. He spent about a year in Morocco, Jordan, Turkey and Indonesia, hiking long trails such as the Lycian Way.[7]

He kept quiet about left-pad for eight years. When he finally wrote about it in 2024, he said the decision had not come from anger, but from thinking it over out in nature. His reasoning was that if npm would break its own rules to take one of his projects, it should take all of them. He also wrote that his love of sharing free code faded afterwards, and that he turned to building and running companies instead.[7]

It happened again

Left-pad was not the last time one person pulled the rug out from under thousands of projects. In January 2022, a programmer named Marak Squires changed his own popular libraries, colors and faker, on purpose. Colors alone was downloaded more than 20 million times a week.[10]

Back in November 2020 he had written that he would no longer support big companies with his free work. The new version of colors printed "LIBERTY LIBERTY LIBERTY" followed by garbled symbols, over and over, in any program that used it. GitHub, where he kept his code, suspended his access. A separate group of volunteers later took the working version of faker and carried it on under a new name.[10]

As for left-pad, it is still there. Cameron Westland, the programmer who rushed out the stand-in copy, is now one of its two keepers, and the page tells people to use a feature that the language itself has since gained instead.[11] Nobody seems to have told the software. In one week of November 2026, left-pad was downloaded about 2.2 million times.[11]