Pretty standard set of files. You’ve got your test cases, test runner config, editor config, lint config, and other necessary files. Let’s look at the code:
Return true if the given number is even.
27,881 weekly downloads
This was slightly more minimalistic.
check if a number is a positive integer
173 weekly downloads
Oh, the beauty!*
* The author has updated the code to a very non-minimalistic monstrosity. But for the sake of this post, we are gonna pretend that the initial commit is where it’s at.
- Sid Verma | Twitter