age-checker
v1.0.1
Published
age checker npm package
Downloads
4
Maintainers
Readme
Introduction
Javascript library to calculate your age provide by your date of birth
About Package ?
ageChecker(dateOfBirth: String: required | format: 'YYYY-MM-DD')
Installation
npm install age-checker
Usage
const { ageChecker } = require("age-checker");
console.log(ageChecker("2002-09-22"));
Expected Output
Your Age: 21 years, 3 months & 24 days