Skip to content

An NPM package to check if a number is equal to 13

github.com/jezen
53 pointsdawkins14 comments
On HN

Comments

I see this composing well with five.js

https://github.com/jackdclark/five

That would never work. five != 13

But is it numberwang?

Maybe my weekend project will be a numberwang NPM package.

This code comment made me chuckle

    sometimes not a number but not not !NaN

I'll just wait for the LTS release.

I'm sorry, I don't follow. Why is this a thing?

Is this a parody of the plethora of "utility" libraries on npm that could just be replaced with a few lines of code?

The NPM library is pretty insane. A slightly more advanced package than this parody is 'is-odd' (https://www.npmjs.com/package/is-odd). It has 3 million downloads within the last 7 days.

Other than that, I must say that the repo is quite hilarious. The numerous references to blockchains did it for me. "Perhaps adding a blockchain would solve this problem, although at this stage I'm not exactly sure how."

And, is-even, which depends on the is-odd library.

https://www.npmjs.com/package/is-even

Some of the issues are funny.

Please Add Support for 14 on Android

Create a Technical Steering Committee

My favourite: `ß` is basically not thirteen

The fact that you can't tell pretty much sums up what's wrong with the npm eco system :)

Wow I love the BDD inspired syntax.

Truly, now anybody can check if their number is thirteen without being a hardcore developer!

    "olivia wilde", // AND because SHE's "Thirteen"  
    "dr. remy beauregard hadley", // Why not 13's real name?!
These both made me chuckle.

At least it is properly unit tested :D

Code Of Conduct and Kindness

Very mature...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.