Skip to content

My Very First NPM Package That Is Odd-Even. You Can Get True / False Or Odd / Even Depending On Your Number

Notifications You must be signed in to change notification settings

Binary-Bytes/Odd-Even-True-False

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

My Very First NPM Package That Is Odd-Even. You Can Get True / False Or Odd / Even Depending On Your Number

Resources

Stars

Watchers

Forks