DEV Community

Discussion on: 10 useless NPM Package with millions of downloads

Collapse
gsuess profile image
Garik Suess • Edited on

It gets even better: there is a package named "is-uneven", which, you guessed it, depends on is-even and negates. You couldn't make this stuff up.

npmjs.com/package/is-uneven

Collapse
leob profile image
leob

I like it that the author says "Help with this big and important project is very appreciated", at least he's got humor and he's probably also aware that the whole thing is just a joke!

Collapse
siddharthshyniben profile image
Siddharth

I guess you still can make is-unodd, which doesn't exist

Thread Thread
vukky profile image
Vukky

Are you sure?

Thread Thread
siddharthshyniben profile image
Siddharth

:D

Thread Thread
siddharthshyniben profile image
Siddharth

is-unodd negates is-uneven negates is-even negates is-odd which returns !!(~~i & 1)

Collapse
nombrekeff profile image
Keff

Incredible, imagine what would happen if suddenly they remove is-even package... like what happened with this other package of which I don't remember the name of... which broke quite a lot of stuff...

Thread Thread
jezmck profile image
Jez McKean

leftpad iirc

Thread Thread
nombrekeff profile image
Keff

Yes, that's the one, thanks!

Collapse
jazzbrown1 profile image
Jazz Brown

Hmmmm very dubious that it was created and commited all in the last two days.