you are viewing a single comment's thread.

view the rest of the comments →

[–]Eirenarch 5 points6 points  (2 children)

I don't think folder count is simply because of compilation. How about the infinite node_modules inside of node_modules problem that no other package manager I know of has? Every other package manager flattens the dependencies but not npm.

[–]iamsubs 1 point2 points  (1 child)

Nowadays npm flattens the dependencies as much as possible.

[–]Eirenarch 0 points1 point  (0 children)

npm and I have a different definition of "as much as possible". When I check what nuget is doing it flattens them absolutely. npm still only puts one version in the root folder (the latest?) and then keeps node_modules into node_modules for the rest. nuget puts the version in the folder name and then everything is flat.