flâneur — a map of the web's best reading

NPM Install Everything, and the Complete and Utter Chaos That Follows

boehs.org · 2,093 words · saved by 2 readers

We are hackers, but not the steal all your data type. We are hackers in the best sense, in the sense that we are creatives who enjoy a good challenge, and aren’t afraid to get our hands dirty. To quote Wikipedia: The hacker culture is a subculture of individuals who enjoy—often in collective effort—the intellectual challenge of creatively overcoming the limitations of software systems or electronic hardware, to achieve novel and clever outcomes. And that is exactly what we did. Our particular challenge? Install every single package on NPM with one artful command. Our first attempt was incredibly simple: create a package, add every other package to its dependency list, and hit install. Instantly, we were met with our first challenge: you can only directly depend on 800 packages – a long shot from the 2.5 million on the registry. Rats. But it wouldn’t be a satisfactory conclusion if we called it there, I know that I’ve installed a whole lot more than 800 packages in one command. What if

NPM Install Everything, and the Complete and Utter Chaos That Follows in blog tags javascript github development hacks date 1/5/2024 license CC BY-SA 4.0 We are hackers, but not the steal all your data type. We are hackers in the best sense, in the sense that we are creatives who enjoy a good challenge, and aren’t afraid to get our hands dirty. To quote Wikipedia: The hacker culture is a subculture of individuals who enjoy—often in collective effort—the intellectual challenge of creatively overcoming the limitations of software systems or electronic hardware, to achieve novel and clever outcom

Explore this link on the map →

saved by

related reading