4 ms·
npm would be a lot better if it flattened out its node-modules. I've seen plenty of structures with multiple identical installs of the same library. All module
by rs23296008n1 7y ago
npm would be a lot better if it flattened out its node-modules. I've seen plenty of structures with multiple identical installs of the same library.
All module folders should be at root level.
Need version 15 and version 16? Yep different folders under the root. Modulename_version, eg somelib_0.1.15 alongside somelib_0.1.16
It would allow clear identification of old versions and much less duplication. Less bloat. No way to have duplicate copies of the same library.