Adding a single NPM library became a total PITA, as it linked to another 100 other NPM libraries, which in-tern linked to an additional 100+ other NPM libraries. So adding a single NPM library to the private repo, meant adding 100s to 1000s of other NPM libraries. (E.g. left-pad [1])
Personally, I think this was a major reason for node.js not picking up more in the enterprise space. With Python & golang getting more traction.
[1] https://qz.com/646467/how-one-programmer-broke-the-internet-...
Does pip not have the same issues?
With NPM, just typing `npm update` can pwn your workstation.
This feels more like a numbers issue than a fundamental difference, i.e. Python packages generally have orders of magnitude fewer dependencies than JS ones because the standard library is very extensive. Most dependencies are major libraries rather than small ones, which are much less likely to be compromised.
There does seem to be a market opportunity though, for a curated, "blessed" clone of NPM for enterprises to pull from.