get-age-years

1.1.1 • Public • Published

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

Package Sidebar

Install

npm i get-age-years

Weekly Downloads

4

Version

1.1.1

License

ISC

Unpacked Size

969 B

Total Files

3

Last publish

Collaborators

  • rugvedgamer