to-age
An extremely simple module that converts a date to an age.
$ toAge('1991-04-24'); // 24 (at time of writing)
Installing
npm i to-age --save
Usage
var toAge = ; // From an instance; // From a string;
An extremely simple module that converts a date to an age.
$ toAge('1991-04-24'); // 24 (at time of writing)
npm i to-age --save
var toAge = ; // From an instance; // From a string;
npm i to-age
1
1.0.0
MIT