Get the latest tech news

Micro-libraries should never be used


Somehow people are still putting tiny libraries on npm, and it really needs to stop.

This problem is so prevalent in the JavaScript ecosystem that many common packages have a total footprint in the hundreds of megabytes, a truly shocking amount of waste. But in practice, updating causes all kinds of problems: breaking changes, deprecated functions (and associated rewrites), performance regressions, bundle size bloat, new bugs. Thankfully this shouldn’t affect build times or bundle sizes, but this amazing level of waste adds up across the thousands of packages installed in people’s node_modules.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Micro

Micro

Photo of libraries

libraries

Related news:

News photo

Ayaneo's take on the Game Boy Micro is available to order starting at $190

News photo

Diffusion Training from Scratch on a Micro-Budget

News photo

Scientists find that small regions of the brain can take micro-naps