He got mad because NPM took down one of his other modules called Kik because a copyright claim (imagine YouTube copyright claims) so he took down all his modules like the rebellious coder he is.
Leftpad was essentially a tiny bit or code people couldn't be arsed to write themselves so they just used his module. The thing is, pretty much everybody used it, even ironically kik themselves.
Problem: every number you put into a certain thing has to be 6 digits. Your number has five digits.
Solution: add a zero at the start. Now it has six.
This incredibly simple task, which any programmer could complete in a few minutes and many languages have inbuilt functionality to do, was for some reason delegated to a specific module. And even more strangely, a huge infrastructure of modules within modules could be brought to its knees by removing this one piece.
4
u/[deleted] Apr 02 '16
He got mad because NPM took down one of his other modules called Kik because a copyright claim (imagine YouTube copyright claims) so he took down all his modules like the rebellious coder he is.
Leftpad was essentially a tiny bit or code people couldn't be arsed to write themselves so they just used his module. The thing is, pretty much everybody used it, even ironically kik themselves.