News for hackers. Stuff that matters.
Re:NPM package 'isarray' is downloaded 40M times a week by burke on Sunday November 08, 2020 @09:48PM (#25030988)
Sure, ok. I can buy that this is not actually completely trivial, and that it's worth bringing code to solve this problem in from some other source.

Still, it's a shame that the specifics of the way the JavaScript ecosystem has evolved mean that it's commonplace to bring in a <10 line dependency to mitigate an extremely core lack of functionality, rather than have a first-party—or be able to sensibly import a third-party—standard library. I can't think of any other language ecosystem where this is normal.

Re:NPM package 'isarray' is downloaded 40M times a week by hn_throwaway_99 on Monday November 09, 2020 @09:20AM (#25035027)
Again, did you even read the package? This is part of the JS standard, and has been for years. This is basically just a polyfill for people that need to support very (very) old browsers.