Re:A one-line package broke `npm create-react-app`
by dragonwriter on Saturday April 25, 2020 @03:30PM
(#22980681)
isFalsy is just “!”; I don't think we need a new library for a more verbose way to express a one-character unary operator, no, nor does it meet the standard of “The problem it solves is not straightforward” proposed upthread.
[ Parent
| on HN ]
Re:A one-line package broke `npm create-react-app`
by drinchev on Saturday April 25, 2020 @03:35PM
(#22980728)
Oh, the irony ... https://www.npmjs.com/package/is-falsy
Re:A one-line package broke `npm create-react-app`
by dragonwriter on Saturday April 25, 2020 @04:22PM
(#22981122)
I'm not surprised it exists (and literally is just a more verbose, indirect way to invoke “!” that nevertheless is a 17 sloc module with a bunch of ancillary files that has one direct and, by way of that one, 17 second-order and, while I didn't check further, probably an even more ridiculous number of more distant, transitive dependendencies.)
I'm just saying it's neither necessary nor consistent with the standard for when a library is a good idea proposed upthread, so suggesting it as part of an attempt at reductio as absurdam on that standard is misplaced.
Re:A one-line package broke `npm create-react-app`
by magicalist on Saturday April 25, 2020 @04:35PM
(#22981225)
> 0 Dependents
if a tree falls in the woods...?
Re:A one-line package broke `npm create-react-app`
by kemitchell on Saturday April 25, 2020 @08:40PM
(#22983078)
> Weekly Downloads
>
> 0
as of 2020-04-26T00:39+00:00