joi
npmv18.2.8TypeScriptObject schema validation
Safe to adopt
Yes — joi scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 7 days ago. 19 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- AMaintenance: grade A, Excellent.
Last published 7 days ago. 19 releases in the last 2 years.
- BWeight: grade B, Good.
Pulls in 7 transitive packages, about 2.1 MB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 6 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
BSD-3-Clause — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding joi to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Licenses in the dependency tree
Every license you inherit by installing joi, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node >= 20
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
joi vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| joithis page | 0 | 3 | BSD-3-Clause | 7 days ago |
| zod | 246.7M | 13 | MIT | 1 day ago |
| @standard-schema/spec | 99.1M | 9 | MIT | 1 day ago |
| valibot | 16.8M | 5 | MIT | 1 day ago |
| @eslint/object-schema | 0 | 1 | Apache-2.0 | 1 day ago |
| fastify | 8.9M | 4 | MIT | 1 day ago |
Dependencies
Declared by joi v18.2.8. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (7)
Dev (9)
Used by
Popular packages that depend on joi.
Fast and low overhead web framework, for Node.js
This package is part of the [React Native CLI](../../README.md). It contains commands for managing the configuration of React Native app.
No description provided.
Relationship graph
Dependencies (left) and dependents (right) of joi.
Frequently installed together
An HTTP/1.1 client, written from scratch for Node.js
Create HTTP error objects
An AST-based pattern checker for JavaScript.
Manipulate the HTTP Vary header
Really Fast Deep Clone
Asynchronous bootstrapping of Node applications
LRU and FIFO caches for Client or Server
The semantic version parser used by npm.
Fake HTTP injection library
Build and manage the fast-json-stringify instances for the fastify framework
A small utility for creating warnings and emitting them.
Crazy fast http radix based router
Release history
19 releases in the last two years, typically about 5 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 18.2.8latest | 7 days ago | 1.8 MB | BSD-3-Clause |
| 18.2.7 | 7 days ago | 1.8 MB | BSD-3-Clause |
| 17.13.7 | 7 days ago | 1.8 MB | BSD-3-Clause |
| 18.2.6 | 7 days ago | 1.8 MB | BSD-3-Clause |
| 17.13.6 | 21 days ago | 1.8 MB | BSD-3-Clause |
| 18.2.5 | 21 days ago | 1.8 MB | BSD-3-Clause |
| 17.13.5 | 21 days ago | 1.8 MB | BSD-3-Clause |
| 18.2.4 | 21 days ago | 1.8 MB | BSD-3-Clause |
| 18.2.3 | 2 months ago | 1.8 MB | BSD-3-Clause |
| 18.2.2 | 2 months ago | 1.8 MB | BSD-3-Clause |
| 17.13.4 | 2 months ago | 1.7 MB | BSD-3-Clause |
| 18.2.1 | 4 months ago | 570 KB | BSD-3-Clause |
| 18.2.0 | 4 months ago | 570 KB | BSD-3-Clause |
| 18.1.2 | 5 months ago | 571 KB | BSD-3-Clause |
| 18.1.1 | 5 months ago | 571 KB | BSD-3-Clause |
Overview
joi is an npm package that object schema validation. It has 3 known dependents in the graph. The latest version is 18.2.8, 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 focused 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
- 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.
Keywords
Frequently asked questions
Should I use joi?
Yes — joi scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 7 days ago. 19 releases in the last 2 years.
How do I install joi?
Run `npm install joi` to add joi to your npm project.
How many dependencies does joi have?
joi declares 16 direct dependencies and pulls in 7 packages in total once its runtime tree is resolved totalling about 2.1 MB on disk.
What license is joi released under?
joi is distributed under the BSD-3-Clause license. Its dependency tree also includes: BSD-3-Clause, MIT.
How popular is joi?
npm does not publish download counts. Within PackageGraph's crawl, 3 known packages depend on joi.
Is joi still maintained?
The most recent release of joi (v18.2.8) was published 7 days ago.
Does joi run install scripts?
No. joi does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.