DEV Community

Discussion on: 10 useless NPM Package with millions of downloads

Collapse
iliark1382 profile image
iliark1382 • Edited on

is-odd creation story:
once upon a time one genius accidentally write this code:
function isOdd(num) {
If (num % 2 == 1) {
return 'is odd'
}
}
and he realize that this function is unique and very helpful for programmers community so he create npm package
😂😂