News for hackers. Stuff that matters.
Re:Curious lack of sprintf scaling by cyral on Friday February 25, 2022 @06:16PM (#30473539)
I get your point about bloated NPM libraries but I think it's also ironic that NPM is the only registry with some of the _smallest_ packages which are equally as annoying. left-pad, ansi-yellow, ansi-red (yes, packages for a single console color with over 200k monthly downloads), is-odd, is-even (which of course, depends on is-odd and inverts it), etc.
Re:Curious lack of sprintf scaling by esprehn on Friday February 25, 2022 @09:21PM (#30474746)
To be fair a lot of those super tiny packages like the ones you listed were created by the same person. They have over 800 repositories on GitHub and hundreds of (probably too) small published npm packages. There's been discussion of that person and their possible motivations on HN before.
Re:Curious lack of sprintf scaling by haggy102 on Friday February 25, 2022 @07:02PM (#30473924)