News for hackers. Stuff that matters.
Re:The Everything NPM Package by cybrox on Saturday January 06, 2024 @07:40PM (#38897132)
I mean... just don't install everything then?

Over-reliance on third party dependencies is a choice. One could argue that it's unreasonable not to do it if you want to stay competitive but good luck changing human nature then. If there are shortcuts, they will be taken.

Re:The Everything NPM Package by BeefWellington on Saturday January 06, 2024 @08:37PM (#38897502)
While this is true, when the shipped standard library by NodeJS lacks so many VERY BASIC features that every other language has, OF COURSE developers choosing/being instructed to use JS so that frontend and backend languages are synced are going to reach for packages to solve whatever functionality should already exist in code like: "Jim".leftPad(4)
Re:The Everything NPM Package by felixfbecker on Sunday January 07, 2024 @01:30AM (#38899028)
"Jim".padStart(4) has existed in JS (and Node) for 6 years now.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...