DEV Community

Discussion on: Stop adding npm dependencies (thoughtlessly) !

Collapse
 
pazzavlad profile image
Vlad Harbarchuk

Don't see any problem with that. Like come on, space in hard drive is cheap. And it's much more convenient than for example python pip where you mess with global deps.

Collapse
 
majo44 profile image
majo44

Space is cheep, but this doesn't mean that you should not care about it. And the key point is that the space is not the biggest problem, I did not mentioned this in article, but the amount and quality of your dependencies has also huge impact on software complexity, maintainability, error prone and security, what is not cheep at all.

Collapse
 
krzysztofcislo profile image
Krzysztof Cisło

Hard drive is cheap but network bandwidth... not necessarily. The problem is not so critical if you work only on the server side but if you create client bundle which will be sent to the browser then you can easily loose control how many megabytes will be transferred.