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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i get-age-years

      Weekly Downloads

      1

      Version

      1.1.1

      License

      ISC

      Unpacked Size

      969 B

      Total Files

      3

      Last publish

      Collaborators

      • rugvedgamer