get-age
1.0.1 • Public • Published get-age

get-age calculates the age in years for a given birth date
Install
$ npm install --save get-age
Usage
var getAge = require('get-age')
getAge('1990-01-09')
API
getAge(dateString)
-> number
dateString
Required
Type: date
The birth date that you'd like to get the age of in iso format YYYY-MM-DD
Package Sidebar
Install
Weekly Downloads