17 ms·
To me it looks like a silly architectural mistake made by NPM/Node developers, considering that there's already pretty good dependency management solution on th
by ivan_gammel 10y ago
To me it looks like a silly architectural mistake made by NPM/Node developers, considering that there's already pretty good dependency management solution on the market that does the things right.
Maven repositories have following structure, that allows to avoid duplication and take versions into account:
/<vendor namespace>/<library>/<version>/<library artifact.ext>
Vendor namespace itself is hierarchical and usually related to domain name, e.g. "com/mycompany/myapp".
No idea, why this approach is not yet used in JS world (except the webjars), but it's high time to fix it this way.