News for hackers. Stuff that matters.
Re:If this project is dead, just tell us by madeofpalk on Friday December 13, 2019 @09:17AM (#21781711)
I thought NPM was everyone's favourite hated package manager/repository?
Re:If this project is dead, just tell us by ufmace on Friday December 13, 2019 @09:58AM (#21782115)
The faults aren't so much with the actual NPM software as with the whole ecosystem. The real root of the problem IMO is that Javascript has such a tiny std lib compared to other popular languages that have package management systems. This encourages lots of people who are missing various functions normally found in std libs to write packages implementing various combinations of those functions. Those who are writing larger packages then depend on various combinations of those little helper packages. So of course, if you need to use multiple large packages to do something useful, they'll tend to pull in a huge forest of tiny packages in a bunch of versions.
Re:If this project is dead, just tell us by egeozcan on Friday December 13, 2019 @10:47AM (#21782544)
NPM itself was also not great, but did become great in the last majors. The weakness of the stdlib is still a problem but very, very slowly getting better with the new Ecmascript and node.js versions.
Re:If this project is dead, just tell us by _eht on Friday December 13, 2019 @10:57AM (#21782651)
Hit the nail on the head.
Re:If this project is dead, just tell us by BlueTemplar on Friday December 13, 2019 @04:04PM (#21785449)
left-pad am-i-right?
Re:If this project is dead, just tell us by josteink on Friday December 13, 2019 @09:21AM (#21781746)
It clearly has its faults, but it is simple to use, requires no “venvs”, is CI-friendly and mostly does what it’s supposed to with few surprises.

Much unlike how things work with python.

Re:If this project is dead, just tell us by fock on Friday December 13, 2019 @09:34AM (#21781877)
And it comes from a time, where a 2MB-webpage is considered acceptable. The whole idea of venvs is basically still considering some reuse. If you shout out loud "SCREW YOU LIBRARY REUSE", then npm is perfect of course...
Re:If this project is dead, just tell us by rpedela on Friday December 13, 2019 @09:26AM (#21781803)
It is, at least on HN, but it is also one of the best overall.
Re:If this project is dead, just tell us by owl57 on Friday December 13, 2019 @10:05AM (#21782175)
Yes, but for opposite reasons. You probably don't get left-pad in an ecosystem without one — and preferably only one —obvious way to publish and use it.