get-age-years
v1.1.1
Published
Get your age by just putting your birthdate
Downloads
5
Maintainers
Readme
Age calculator
Installation
npm i get-age-years
Usage
const age = require("get-age-years");
console.log(age.getAge(YYYYMMDD));
Example
const age = require("get-age-years");
console.log(age.getAge(2003/09/29));
OUTPUT: 17