Micro modules on NPM are in fact a problem, but I don’t think this was laziness. It was the first, but clumsy, step to the desire for a JS std lib.
We definitely shouldn’t advocate this mentality “put these little snippets on your codebase” because it by far isn’t a solution. Instead, we need to speak loud about a good std lib on Javascript.