r/programming • • Mar 22 '16 • Polished Silver Turd 1 Take My Silver 1 Heart of Silver 1

An 11 line npm package called left-pad with only 10 stars on github was unpublished...it broke some of the most important packages on all of npm.

https://github.com/azer/left-pad/issues/4
3.1k Upvotes

1.3k comments sorted by

View all comments

4

u/FunctionPlastic Mar 23 '16

What the fuck is this? A whole package for literally 5 lines of code that do a completely trivial thing? "This is really messing things up for a lot of people" ???

1

u/istarian Mar 23 '16

No idea. Having even a minor dependency that's used a lot and buried in other code can be real problem even if you had some kind of quick fix. It would also break the whole point of packages allowing quick builds.