@thegeorgenikhil/is-even
v1.0.3
Published
A simple package to check if a number is even or not
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-evenUsage
To use the package, import the isEven function and call it with a number:
import { isEven } from '@georgenikhil/is-even';
console.log(isEven(2)); // trueDevelopment
Build
To build the package, run:
npm run buildTest
To run the tests, execute:
npm run testLicense
Copyright © 2024, Nikhil George. Released under the ISC License.
