joi
npmv18.2.3TypeScriptObject schema validation
Overview
joi is an npm package that object schema validation. It is extremely widely used, with about 22.5M downloads per week and 3 known dependents in the graph. The latest version is 18.2.3, released under the BSD-3-Clause license.
Who should use it
Teams working in the npm ecosystem who need object schema validation and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (22.5M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (BSD-3-Clause).
Cons
- Large dependency tree (16 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of joi.
Dependencies
Runtime (7)
Dev (9)
Used by
Popular packages that depend on joi.
No description provided.
This package is part of the [React Native CLI](../../README.md). It contains commands for managing the configuration of React Native app.
Fast and low overhead web framework, for Node.js
Alternatives to joi
A family of specs for interoperable TypeScript
TypeScript-first schema declaration and validation library with static type inference
An object schema merger/validator
The modular and type safe schema library for validating structural data
A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations
A library for parsing IPv4 and IPv6 IP addresses in node and the browser.
Converts Zod schemas to Json Schemas
Give me a string and I'll tell you if it's a valid npm package name
Stringify your JSON at max speed
JSON schema reference resolver
Build and manage the AJV instances for the fastify framework
Protocol Buffers for ECMAScript. The only JavaScript Protobuf library that is fully-compliant with Protobuf conformance tests.
Frequently installed together
The semantic version parser used by npm.
TypeScript definitions for node
Create HTTP error objects
It's a very fast and efficient glob library for Node.js
An HTTP/1.1 client, written from scratch for Node.js
Find and load configuration from a package.json property, rc file, TypeScript module, and more!
Manipulate the HTTP Vary header
Really Fast Deep Clone
A small utility for creating warnings and emitting them.
JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.
LRU and FIFO caches for Client or Server
Stringify your JSON at max speed
Version history
| Version | Published | License |
|---|---|---|
| 18.2.3latest | 1 month ago | BSD-3-Clause |
| 18.2.2 | 1 month ago | BSD-3-Clause |
| 17.13.4 | 1 month ago | BSD-3-Clause |
| 18.2.1 | 2 months ago | BSD-3-Clause |
| 18.2.0 | 2 months ago | BSD-3-Clause |
| 18.1.2 | 3 months ago | BSD-3-Clause |
| 18.1.1 | 4 months ago | BSD-3-Clause |
| 18.1.0 | 4 months ago | BSD-3-Clause |
| 18.0.2 | 8 months ago | BSD-3-Clause |
| 18.0.1 | 11 months ago | BSD-3-Clause |
| 18.0.0 | 11 months ago | BSD-3-Clause |
| 17.13.3 | 2 years ago | BSD-3-Clause |
| 17.13.2 | 2 years ago | BSD-3-Clause |
| 17.13.1 | 2 years ago | BSD-3-Clause |
| 17.13.0 | 2 years ago | BSD-3-Clause |
| 17.12.3 | 2 years ago | BSD-3-Clause |
| 17.12.2 | 2 years ago | BSD-3-Clause |
| 17.12.1 | 2 years ago | BSD-3-Clause |
| 17.12.0 | 2 years ago | BSD-3-Clause |
| 17.11.1 | 2 years ago | BSD-3-Clause |
Keywords
Frequently asked questions
How do I install joi?
Run `npm install joi` to add joi to your npm project.
What license is joi released under?
joi is distributed under the BSD-3-Clause license.
How popular is joi?
joi has approximately 22,506,435 downloads per week and 3 known dependent packages.