odd-even-true-false

1.0.0 • Public • Published

Odd-Even-True-False

Status Downloads GitHub Issues License


-------------------------

Table of Contents

About

Latest Version - v1.0.0

This Is My First NPM Package. It Basically Tell You If A Number Is Even Or Odd (Nothing Too Complex). Because Its My First Package I Don't Know Much About Creating NPM Packages So There Isn't Really Much In This But As I Learn New Things I May Add More Stuff In This.

Getting Started

These Instructions Below Will Get You Downloaded And Started With This NPM Package

Prerequisites

  1. Node
  2. NPM

Installing

$ npm install odd-even-true-false

Usage

Once You Have Installed It There Are Two Ways To Use This Package

Method 1 (Using True Or False Function)

  1. Require The Package
const package = require('odd-even-true-false');
  1. Use The 'trueorfalse' Function
console.log(package.trueorfalse(22));
  1. In The trueorfalse Parameter, You Can Pass Any Number
  2. And The Output Is
True

Method 2 (Using Odd Or Even Function)

  1. Require The Package
const package = require('odd-even-true-false');
  1. Use The 'oddoreven' Function
console.log(package.oddoreven(22));
  1. In The oddoreven Parameter, You Can Pass Any Number
  2. And The Output Is
Even

Package Sidebar

Install

npm i odd-even-true-false

Weekly Downloads

3

Version

1.0.0

License

ISC

Unpacked Size

36.1 kB

Total Files

5

Last publish

Collaborators

  • binary-bytes