DEV Community

Discussion on: Don't Make NPM Packages Unless You Need To

Collapse
 
strafer14 profile image
Michael Ostrovsky

I'm not sure I understood what the consequences are of polluting npm.

  • Is it storage space? I'm sure storage space is not a issue especially considering npm was just acquired by MS.
  • Is it that people consider the node eco-system a joke because all of this? Sure but people would always find a reason to look badly at a JavaScript based eco-system.

Yes it would be better if NPM was cleaner but the fact uploading a package has such low knowledge threshold compared to other languages allows way more people to upload packages, especially beginners and I don't necessarily see a problem with that if they learn something in the process.

My point is all the incentives to upload a package are there and the downsides aren't significant so people have no reason to stop publishing "trash" packages.

P.S.
A few "funny" packages really improved my mood when I stumbled upon them. I think that's also valuable.

Collapse
 
sr229 profile image
Ayane Satomi

I agree with the low treshold making people create more, but I just keep noticing NPM pollution, spare the joke packages. It's just not funny to see things like is-a-number, is-a-xy.