1.0.1 • Published 3 years ago
@vijayjoshi16/is-odd v1.0.1
My first NPM Package
Fed up everytime finding a solution on stackoverflow for the question 'How to check whether a no. is odd or not in Javascript?'😭
Here's a quick solution😀
This npm package contains the function to check whether a no. is odd or not😅
Step 1: Install the package
npm i @vijayjoshi16/is-odd
Step 2: Import the package
const isOdd = require('@vijayjoshi16/is-odd');
Step 3: Call the inbuilt functions to do the task
console.log(isOdd(1));