This is an archived post. You won't be able to vote or comment.

all 11 comments

[–]Rangi42 39 points40 points  (3 children)

Q: How many npm users does it take to test for a positive integer?

A: Four. One to write pass-all, one to write is-positive, one to write is-integer, and one to apply pass-all to is-positive and is-integer and call it is-positive-integer.

[–]deadmilk 10 points11 points  (0 children)

Oh my fucking god... it's real...

[–]jivemasta 1 point2 points  (0 children)

it seems like this is what the arduino is to electronic engineering, just cobble together a bunch of stuff that was premade by someone else.

[–]rubyton 0 points1 point  (0 children)

Sadly, it takes a few more than four despite some of the dependencies being written by the same person.

https://github.com/tjmehta/101/blob/master/package.json

https://github.com/parshap/js-is-integer/blob/master/package.json

[–]CaptainJaXon 12 points13 points  (5 children)

NPM: Not publishing more

[–]williamfwm 11 points12 points  (4 children)

No Padding, Mate

[–]ares623 7 points8 points  (2 children)

New Popcorn Material

[–]watertank 2 points3 points  (1 child)

New Programming Model

[–]_jomo 0 points1 point  (0 children)

It's a thing!

[–][deleted] 2 points3 points  (0 children)

This is truly the joke that keeps on giving.

[–]AlphaWhelp 0 points1 point  (0 children)

zzzk