Re:Bundle Phobia: find the cost of adding an npm package to ...
by lugrugzo on Monday December 18, 2017 @05:12PM
(#15955991)
Npm3 has flat dependency system.
[ Parent
| on HN ]
Re:Bundle Phobia: find the cost of adding an npm package to ...
by mstade on Monday December 18, 2017 @11:56PM
(#15957868)
It doesn’t. It has a deduping system, which may still leave you with multiple versions installed if there are incompatible version requirements in the dependency tree.
A flat system would mean there’s only ever a single version installed. Or at least, I think that’s what OP means, since that’s the only definition I’ve ever heard.