News for hackers. Stuff that matters.
Re:A one-line package broke `npm create-react-app` by forty on Sunday April 26, 2020 @04:54AM (#22985667)
No. There is no reason why it should be a package by itself. It should be part of a bigger util package, which which is well maintained, tested, and with many maintainers actively looking at it, with good processes, such as systematic code reviews, etc.

At work, our big webapp depended at some point indirectly on "isobject" "isobj" and "is-object", which were all one liners (some of them even had dependencies themselves!!). Please let's all just depend on lodash and it will actually eventually reduce space and bandwith usage.

Re:A one-line package broke `npm create-react-app` by therealdrag0 on Monday April 27, 2020 @12:44PM (#22997483)
Yep, in Java-land this would be in an Apache Common's (or Guava, etc) module with dozens and dozens of other useful functionality.