is-odd return the boolean value of Number X is odd or not. Install npm i --save @steven-y/is-odd Usage const { isOdd } = require("is-odd"); console.log(isOdd(1024)); // -> true Caution DO NOT SUPPORT number larger than 9007199254740991