3.2.2 • Published 1 year ago

bd-marrige-age-checker v3.2.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Marrige Calculator

Quick check marrige age with two parameter , Year and Gender For a Male when age are greater than 21 function permit to marrige succesfuly beside for a Female when age are greater than 18 year old function permit to marrgie succesfully . In this case this calculator check default For male and if you pass two parameters called year and gender function will succesfully.

Installation

Installation is done using the npm install command:

$ npm install bd-marrige-age-checker

Usage

import marrigeAgeCal from "bd-marrige-age-checker";

Then

console.log(marrigeAgeCal())

two parameter in function call year and gender

Example Code -

For Year Parameters

import marrigeAgeCal from "./bd-marrige-age-checker.js";

console.log(marrigeAgeCal(2006));

Result :

You are not ready to marrige , You are 18 Years old

For Year & Gender Parameters

import marrigeAgeCal from "./bd-marrige-age-checker.js";

console.log(marrigeAgeCal(2006,'Female'));

Result :

You are ready to marrige , You are 18 Years old

3.2.2

1 year ago

3.2.1

1 year ago

3.2.0

1 year ago

3.1.0

1 year ago

3.0.0

1 year ago

2.2.0

1 year ago

2.1.0

1 year ago

2.0.0

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago