average day in NPM land - programming.dev

440GB weekly for “is number”. What in the world is that package doing?

Anti Commercial-AI license

Deed - Attribution-NonCommercial-ShareAlike 4.0 International - Creative Commons

is-number is a one-line function. You may have heard of a similar “microdependency” called is-even. When you use an NPM package, you also need all the dependencies of that package, and their dependencies recursively. Each package has some overhead, eventually leading to this moment in time.

Web bloat in a nutshell and why we need to switch to things like Web Assembly more than ever. It’s not WASM, but I used Laminar which is a Scala.js library, and it’s the absolute pinnacle of (frontend) web development. Scala in general is just really great for idiomatic web code.

Another amazing alternative would be anything Rust. In fact I’ve used that much more than Scala for web. I’ve mainly used Leptos for full-stack and and Actix for backend, but I’ve seen Dioxus and Axum in good use and they both seem really great too.

Apparently Lemmy uses Leptos so… that’s a +1.

I feel like this is completely avoidable bloat.

You could quite easily create this bloat in any language