3 ms·
Ideally you would cut down on dependencies on every level, and end up with significantly less than N dependencies. If you have 5 similar string formatting libr
by cuu508 11y ago
Ideally you would cut down on dependencies on every level, and end up with significantly less than N dependencies.
If you have 5 similar string formatting libraries that depend on leftpad, you could collapse them into one, and have a single instance of leftpad inside the combined library. Less licenses, less READMEs, less time downloading, and with tree shaking you still get similar end result.
- chris_wot 11y agoIt would nice for packages to include other packages in it...