Comment on When "Everything" Becomes Too Much: The npm Package Chaos of 2024 - Socket

<- View Parent
azertyfun@sh.itjust.works ⁨9⁩ ⁨months⁩ ago
  1. Like Python, have a large and featureful standard library such that > 80% of NPM packages are redundant. Other languages allow you to make very large projects with only a few tens of dependencies. JavaScript requires THOUSANDS.
  2. With this in place, stop with the recursive dependencies, immediately and forever. Every other package manager under the sun installs the dependencies next to each other.

I’d say pip is saner, though not by much as its support for private registries is very bad and seems designed to facilitate supply-chain attacks. I’ve heard a lot of good things about cargo but haven’t used it enough myself to have a strong opinion.

source
Sort:hotnewtop