1.0.2 • Published 2 years ago

@pinoyfreecoder/display-age v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

@pinoyfreecoder/display-age

A simple npm package to calculate and display age based on a provided birthday.

Installation

npm install @pinoyfreecoder/display-age

How to use

const calculateAge = require("@pinoyfreecoder/display-age");

const birthdayString = "1990-05-15";
const age = calculateAge(birthdayString);

console.log("Age:", age);

Replace 1990-05-15 with the actual birthday string you want to calculate the age for.

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago