random-age
Generate a random age.
Install
$ npm install --save random-age
Usage
var randomAge = ; // API// - randomAge();// - randomAge([options]);
Default range is between 1
and 120
:
;// => 45
Optionally specify one of a handful of enumerated age types:
;// => 9
Allowed types are: child
, teen
, adult
, senior
.
Related
- random-birthday - Generate a random birthday.
- random-firstName - Generate a random first name.
- random-lastName - Generate a random last name.
- random-fullName - Generate a random full name.
Contributing
Pull requests and stars are highly welcome.
For bugs and feature requests, please create an issue.