Not lazy, just disorganized
Is it possible that we've become too lazy? Rather than write one-line functions, folks are pulling in outside code, and thus overly relying on dependencies.
I don't think that's the problem. People really shouldn't have to write their own code for base stuff like padding strings or checking object types. I think the real problem is, that code should be in a standard library, not scattered across a dozen projects that live and die at the will of individual developers.
Likewise, if projects in repositories such as NPM depend on one another, what's needed is a system to check such dependencies and prevent operations that would break them. Preventing automatic unpublishing of projects older than 24 hours is at best a makeshift solution, that fails to address the fundamental issue.
Perhaps JavaScript development should transition to a model closer to Linux distributions: a small core of basic components upon which all other projects build; a variety of online code repositories; and a degree of checks and balances regarding who curates those, as opposed to "just" contributing code.