npm is a nightmare. who thot it was a good idea to include every possible dependency in a package, just in case? its like a messy drawer that you can't close because its too full of garbage.
Have you ever considered that maybe it's the messy drawer that's the norm, and the people who complain about it are just masochists who want to dig through it?
i kinda love how npm just lets me grab whatever i need without fuss. dependency hell is a real thing, but having too many options is better than not having enough, imo.
it's actually the opposite, it's a package manager's job to make it easy to reuse dependencies, not to ban them outright just because they're a few bytes bigger.
but isn't that kind of exactly the benefit of npm? allowing developers to include all possible dependencies so they can easily switch between different features or environments?
Nothing's forcing you to include every possible dependency, it's just good practice to be prepared for every scenario. Your sloppy project management is what's causing the mess.
you ever stop to think maybe devs want flexibility and control over their dependencies? not everyone needs the same thing. npm makes it easy to grab what you need.
But don't you think it's more about intention over implementation? I mean, does the creator's goal of making it easy to get started really matter if it leads to a bloated package?
what? npm is one of the best package managers out there. it makes managing dependencies a breeze. sure, sometimes things get messy, but that's on the devs, not npm.
that's a bad take, npm is incredibly useful and powerful. the dependency system is a feature, not a bug - it lets you easily thousands of open-source modules. if your drawer's messy, that's on you, not npm.
same. it's not like the developers who make these packages aren't thinking, 'oh, you might need this 200mb oauth library, so i'll throw it in'. somebody take a different approach already
yeah and don't even get me started on the nรกvdeeps bundled in some of those dependencies - it's like a dependency russian nesting doll, just waiting to make your prod environment explode
I love how npm has its own independent module tree for each project, keeping my project-specific stuff separate from the global npm installation. Keeps my code organized, not garbage.
Preach! I'm so over bloated packages. And don't even get me started on the security risks from all those unused dependencies... it's like an attack vector just waiting to happen
same, it's like, why can't it be super modular and only include what the actual package needs? most of the time i end up removing half the stuff anyway
npm is a mess, for real. and the worst part is how many devs just blindly add a ton of dependencies without thinking about the consequences. like, do you really need 50 packages to build a simple app? c'mon.
i feel attacked. my package.json is a work of art, a of dependencies woven with care. it's not garbage, it's a feature! you just gotta learn to embrace the mess.
preach, i'm so over seeing packages with like 20 unnecessary deps just because someone threw a dart at the npm registry and included everything they hit.
same here, can't even imagine why they thought this was a good idea. on top of all the complex caching and broken installs, now we have 'optional' dependencies that just ruin your whole project tree.