Leftpad is more a symptom of JS lacking a real standard library than anything else.
Yes. One of the costs of having a low barrier to entry for publishing is that the quality is generally lower. NPM still hosts tons of very well written code, but you have to sift through quite a lot of noise to find it.