# rnd-age

> Generate a random age

Latest version **0.0.1** (published 2017-02-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install rnd-age
pnpm add rnd-age
yarn add rnd-age
bun add rnd-age
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2017-02-27 |
| First published | 2017-02-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Bu Kinoshita |
| Maintainers | bukinoshita |

## Links

- npm: https://www.npmjs.com/package/rnd-age
- Repository: https://github.com/bukinoshita/rnd-age
- Homepage: https://github.com/bukinoshita/rnd-age#readme
- Issues: https://github.com/bukinoshita/rnd-age/issues
- npm.io page: https://npm.io/package/rnd-age

## Dependencies (1)

- [rnd-date](https://npm.io/package/rnd-date.md) ^0.0.1

## Recent versions

- 0.0.1 (latest) — 2017-02-27

## README

# rnd-age
> Generate a random age

[![Codeship Status for bukinoshita/rnd-age](https://app.codeship.com/projects/1e444310-df44-0134-4201-2626b392372a/status?branch=master)](https://app.codeship.com/projects/204873)
[![GitHub release](https://img.shields.io/github/release/bukinoshita/rnd-age.svg)](https://www.npmjs.com/package/rnd-age)
[![license](https://img.shields.io/github/license/bukinoshita/rnd-age.svg)](https://raw.githubusercontent.com/bukinoshita/rnd-age/master/LICENSE)

## Install
```bash
$ npm install --save rnd-age
```

## Usage
```js
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<br/>
Required

#### to
Type: Number<br/>
Required

## Related
- [rnd-date](https://github.com/bukinoshita/rnd-date) — :date: Get a random date

## License
[MIT](https://github.com/bukinoshita/rnd-age/blob/master/LICENSE) &copy; Bu Kinoshita

---
_Source: https://npm.io/package/rnd-age · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
