fast-odd-even

1.0.0 • Public • Published

⚡💪 fast-odd-even 💪⚡

Are you tired of having to use separate packages like is-odd or is-even to check, if a number is odd or even? Are you tired of these 🐌 slow-performing 🐌 dependencies?

Look no further!

This package provides you with separate functions‚ isOdd() and isEven(), which do exactly what they say! And it does these things ⚡ blazingly fast ⚡, by utilizing a 👽 special technique 👽 called bitwise operations!

⚙️ Installation ⚙️

You can install this 💫 amazing 💫 tool using our favourite package manager 🤩 npm 🤩

npm install fast-odd-even

Usage/Examples

🏃 Getting started 🏃 is easy!

const { isOdd, isEven } = require("fast-odd-even");

isOdd(5);
// true

isEven(5);
// false

License

This project is 📜 licensed 📜 under the 🤓 MIT 🤓 license.

Package Sidebar

Install

npm i fast-odd-even

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

1.58 kB

Total Files

3

Last publish

Collaborators

  • ghaxz