# is-valid-min-age

> Validate that age is above a minimum

Latest version **0.0.2** (published 2017-03-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-valid-min-age
pnpm add is-valid-min-age
yarn add is-valid-min-age
bun add is-valid-min-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.2 |
| Published | 2017-03-28 |
| First published | 2014-12-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Miguel Mota |
| Maintainers | miguelmota |
| Keywords | validate, validator, age |

## Links

- npm: https://www.npmjs.com/package/is-valid-min-age
- Repository: https://github.com/miguelmota/is-valid-min-age
- Issues: https://github.com/miguelmota/is-valid-min-age/issues
- npm.io page: https://npm.io/package/is-valid-min-age

## Dependencies (1)

- [tape](https://npm.io/package/tape.md) ^3.0.3

## Alternatives

- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@regle/core](https://npm.io/package/@regle/core.md) — 47.0K weekly downloads
- [typeof-arguments](https://npm.io/package/typeof-arguments.md) — 12.5K weekly downloads
- [@lokalise/projects-engine-contracts](https://npm.io/package/@lokalise/projects-engine-contracts.md) — 978 weekly downloads
- [@osjwnpm/nam-laboriosam-quibusdam](https://npm.io/package/@osjwnpm/nam-laboriosam-quibusdam.md) — 70 weekly downloads

## Recent versions

- 0.0.2 (latest) — 2017-03-28
- 0.0.1 — 2014-12-02

## README

# is-valid-min-age

> Validate that age is above a minimum

## Install

```bash
npm install is-valid-min-age
```

## Usage

```javascript
const isValidMinAge = require('is-valid-max-age');

console.log(isValidMinAge(new Date(1999, 02, 21), 18)); // true
console.log(isValidMinAge(new Date(2006, 05, 14), 18)); // false
```

## Test

```bash
npm test
```

## Resources

Use [is-valid-max-age](https://github.com/miguelmota/is-valid-max-age) to validate that age is below a maximum.

# License

MIT

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