News for hackers. Stuff that matters.
Re:React Native for Windows and Mac by rodinia on Wednesday May 13, 2020 @08:53AM (#23166375)
fwiw, I've been doing professional JS (mostly server, good amount of client) for about 5 years now and have never pulled in a single function package before as a direct dependency. Every team I've been on has used Lodash or Underscore in the capacity you describe.

https://lodash.com/docs/4.17.15 https://underscorejs.org/

Re:React Native for Windows and Mac by hyperbovine on Wednesday May 13, 2020 @10:10AM (#23167026)
I agree that this is the sane alternative, but sanity does not seem to be winning out. Our friend number-is-nan, for example, has 12 million downloads a week.

A week!

Re:React Native for Windows and Mac by stephenr on Wednesday May 13, 2020 @03:57PM (#23171097)
It’s like someone saw how much the is-odd/is-even (yes one of those first two depends on the other and just returns the inverse with !) packages are downloaded per week and said “hold my beer”

Of course they don’t hold a candle to “is-number” which has 29M/week

Of course this is completely unrepresentative of reality because “yolo just install dependencies at deployment” may mean it’s downloaded 5 or 10 or 50 times for a high traffic site/service with a bunch of backend installations.