Left-pad as a service
Hahaha - isn&#x27;t it hysterical how everyone using npm for small reusable code pieces!  Aren&#x27;t they morons!  How stupid of people to trust their package manager to be consistent and correct and return packages they were expecting.<p>How stupid of people to reuse small often used functions that only do one thing well.<p>How does everyone taking the piss intend to protect themselves from this in their OS package manager, or PPM or composer or pip?<p>It&#x27;s not javascript devs fault that the standard library is so piss poor you need these short code snippets and I&#x27;ve definitely included small 5-10 line packages via npm or other package managers rather than roll my own because it&#x27;s likely they have bug fixes I haven&#x27;t considered.  I can also use npm to share these snippets between the many projects I&#x27;m building.<p>* No I wasn&#x27;t affected by this because I review the packages that I want to include, however the level of smugness here is absolutely ridiculous.