Am I missing something here, why is a package even needed needed for this? Can you not evaluate `some_int % 2` in Javascript to check for this directly?
Even so: I'd much rather in my code have a function doing exactly this, rather then peppering it all through my code anyway.