Re:NPM – "is-even", 160k weekly downloads
by rnestler on Tuesday November 16, 2021 @11:12AM
(#29242225)
In the GitHub organization i-voted-for-trump it even states:
> This is a joke. You'll only see this org if you are attempting to troll me about repositories I created when I was learning to program
Re:NPM – "is-even", 160k weekly downloads
by omnicognate on Tuesday November 16, 2021 @11:11AM
(#29242209)
27 dependents, i.e. things depending on it. Only one dependency: is-odd, hilariously.
I'd like to think it's a joke, but maybe not. Anyway, what's with the massive download spike, 20 million downloads between 22nd and 28th December 2020.
Re:NPM – "is-even", 160k weekly downloads
by toomanybeersies on Tuesday November 16, 2021 @11:16AM
(#29242286)
It actually has 2 dependencies, `is-odd` depends on `is-number`
Re:NPM – "is-even", 160k weekly downloads
by ainar-g on Tuesday November 16, 2021 @11:38AM
(#29242616)
And the latest version of is-number is 7.0.0, interestingly
enough.
You have to wonder what the six backwards incompatible changes were.
Re:NPM – "is-even", 160k weekly downloads
by rezonant on Tuesday November 16, 2021 @10:43PM
(#29249077)
I assume they got it into a popular package around then, and it was promptly removed for being ridiculous.
Re:NPM – "is-even", 160k weekly downloads
by dgrin91 on Tuesday November 16, 2021 @11:08AM
(#29242173)
In the about for the project it says
> I created this in 2014, when I was learning how to program.
It would be one thing if it was _just_ a little demo utility used to showcase packaging and distribution of a trivial use case, however the creator of this has also created a number of packages which pull in these "demo" packages, like `handlebar-helpers`, which is again just these trivial function packages wrapped in handlebar decorators.
Several of these utility and helper packages are then pulled into other packages and build tools and marketed as legitimate packages, effectively hiding and masking the "just a demo" labels of the root is-even, is-odd, is-number packages. When people like myself complain about the absurdity of NPM supply chain verification, this is what we're arguing against.
Re:NPM – "is-even", 160k weekly downloads
by pledg on Tuesday November 16, 2021 @11:13AM
(#29242237)
27 dependants, not dependencies. It has one dependency.
Re:NPM – "is-even", 160k weekly downloads
by 1_player on Tuesday November 16, 2021 @11:07AM
(#29242165)
I'm not sure where are you seeing that username, but no, sadly it's not a joke.
edit: Confused dependents with dependencies