@thegeorgenikhil/is-even
v1.0.3
Published
A simple package to check if a number is even or not
Downloads
1
Readme
@thegeorgenikhil/is-even
A simple TypeScript package to check if a number is even.
Installation
To install the package, run:
npm install @georgenikhil/is-even
Usage
To use the package, import the isEven
function and call it with a number:
import { isEven } from '@georgenikhil/is-even';
console.log(isEven(2)); // true
Development
Build
To build the package, run:
npm run build
Test
To run the tests, execute:
npm run test
License
Copyright © 2024, Nikhil George. Released under the ISC License.