Comment by JaRail
11 years ago
npm does a decent enough job deduping shared packages. The reason is different packages consume different versions of things. Java only lets you have a single version of a package. If the API changes, it can be a pain when your dependencies were written for different versions. That slows adoption since you have to wait until everyone you depend on has updated first.
Are you thinking of the new flat-tree npm? Because in my 1.3.10 installation, I see this:
That's a lot of duplicate files.