joi Documentation

The most powerful data validation library for JS

21,164 stars JavaScript JavaScript 2 files ยท ~318 tokens #hapi#javascript#schema#validation
RAW Doc

Technical Documentation: hapijs/joi

โ„น๏ธ Provenance: Multi-Tier Ingestion ยท CodeWiki Reference

Overview (`README.md`)

joi

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

Installation

npm install joi

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

Useful resources


Overview (`benchmarks/README.md`)

Joi benchmarks

The benchmarks in this folder are there to do performance regression testing. This is not to compare joi to some other library as this is most of the time meaningless.

Run it first with npm run bench-update to establish a baseline then run npm run bench or npm test to compare your modifications to the baseline.

Significant (> 10% by default) are put in colors in the report, the rest should be fairly obvious.


--- METRICS ---