# @hapi/joi

> Object schema validation

Latest version **17.1.1** (published 2020-03-14) · BSD-3-Clause license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

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

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 17.1.1 |
| Published | 2020-03-14 |
| First published | 2019-03-29 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | separate (@types/hapi__joi) |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 418.7 KB |
| Known vulnerabilities | 1 |
| Install scripts | no |
| GitHub stars | 21173 |
| Maintainers | hueniverse, marsup |
| Keywords | schema, validation |

## Links

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

## Dependencies (5)

- [@hapi/hoek](https://npm.io/package/@hapi/hoek.md) ^9.0.0
- [@hapi/topo](https://npm.io/package/@hapi/topo.md) ^5.0.0
- [@hapi/address](https://npm.io/package/@hapi/address.md) ^4.0.1
- [@hapi/formula](https://npm.io/package/@hapi/formula.md) ^2.0.0
- [@hapi/pinpoint](https://npm.io/package/@hapi/pinpoint.md) ^2.0.0

## 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

- 17.1.1 (latest) — 2020-03-14
- 16.0.0-preview (preview) — 2019-08-10
- 14.5.0 (lts) — 2019-06-23
- 17.1.0 — 2020-01-20
- 17.0.2 — 2020-01-09
- 17.0.1 — 2020-01-09
- 17.0.0 — 2020-01-04
- 16.1.8 — 2019-11-24
- 16.1.7 — 2019-10-05
- 16.1.6 — 2019-10-05
- 16.1.5 — 2019-10-02
- 16.1.4 — 2019-09-20
- 16.1.3 — 2019-09-20
- 16.1.2 — 2019-09-19
- 16.1.1 — 2019-09-17
- … 13 more at https://npm.io/package/@hapi/joi/versions

## README

<a href="https://hapi.dev"><img src="https://raw.githubusercontent.com/hapijs/assets/master/images/family.png" width="180px" align="right" /></a>

# @hapi/joi

#### The most powerful schema description language and data validator for JavaScript.

**joi** is part of the **hapi** ecosystem and was designed to work seamlessly with the [hapi web framework](https://hapi.dev) and its other components (but works great on its own or with other frameworks). If you are using a different web framework and find this module useful, check out [hapi](https://hapi.dev) – they work even better together.

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

## Useful resources

- [Documentation and API](https://hapi.dev/family/joi/)
- [Versions status](https://hapi.dev/resources/status/#joi)
- [Changelog](https://hapi.dev/family/joi/changelog/)
- [Project policies](https://hapi.dev/policies/)
- [Free and commercial support options](https://hapi.dev/support/)

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