0.0.1 • Published 7 years ago
rnd-age v0.0.1
rnd-age
Generate a random age
Install
$ npm install --save rnd-age
Usage
import rndAge from 'rnd-age'
rndAge(1990, 1994).then(randomAge => console.log(`John has ${randomAge} years`))
// => John has 22 years
API
rnd-age(from, to)
from
Type: Number Required
to
Type: Number Required
Related
- rnd-date — :date: Get a random date
License
MIT © Bu Kinoshita
0.0.1
7 years ago