# @joi/date

> Joi extension for dates

Latest version **3.0.0** (published 2026-07-31) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install @joi/date
pnpm add @joi/date
yarn add @joi/date
bun add @joi/date
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2026-07-31 |
| First published | 2020-12-17 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=22 |
| Dependencies | 1 |
| Unpacked size | 12.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 80 |
| Maintainers | marsup, nlf, nargonath, devinivy, wyatt |
| Keywords | date, dayjs, extension, joi, schema, validation |

## Links

- npm: https://www.npmjs.com/package/@joi/date
- Repository: https://github.com/hapijs/joi-date
- Homepage: https://github.com/hapijs/joi-date#readme
- Issues: https://github.com/hapijs/joi-date/issues
- npm.io page: https://npm.io/package/@joi/date

## Dependencies (1)

- [dayjs](https://npm.io/package/dayjs.md) ^1.11.21

## Alternatives

- [@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
- [@oridune/validator](https://npm.io/package/@oridune/validator.md) — 16 weekly downloads

## Recent versions

- 3.0.0 (latest) — 2026-07-31
- 2.1.1 — 2024-04-22
- 2.1.0 — 2021-03-30
- 2.0.1 — 2020-12-17

## README

# @joi/date

#### Extensions for advance date rules.

### Visit the [joi.dev](https://joi.dev) Developer Portal for tutorials, documentation, and support

## Useful resources

- [Documentation and API](https://joi.dev/module/joi-date/)
- [Versions status](https://joi.dev/resources/status/#joi-date)
- [Changelog](https://joi.dev/module/joi-date/changelog/)
- [Project policies](https://joi.dev/policies/)

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