rnd-age

0.0.1 • Public • Published

rnd-age

Generate a random age

Codeship Status for bukinoshita/rnd-age GitHub release license

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

License

MIT © Bu Kinoshita

Readme

Keywords

none

Package Sidebar

Install

npm i rnd-age

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • bukinoshita