@thegeorgenikhil/is-even
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@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.

Readme

Keywords

Package Sidebar

Install

npm i @thegeorgenikhil/is-even

Weekly Downloads

2

Version

1.0.3

License

ISC

Unpacked Size

3.16 kB

Total Files

8

Last publish

Collaborators

  • georgenikhil