Skip to main content
Head-to-Head NPM Comparison

yupvsjoi

Detailed package comparison for bundle size, weekly downloads, supply chain security, and license obligations.

Weekly Downloads Leader
joi14.6M/wk
Security Grade Leader
Equal Rating100/100
TypeScript Ready
Both Native
Specification
yupv1.7.1
joiv18.3.0
Weekly Downloads6.8M14.6MWinner
Unpacked Size264.1 KB1.80 MB
Security Grade
A+(100/100)
A+(100/100)
Lifecycle Scripts Clean (No scripts) Clean (No scripts)
TypeScript Support Built-in Types (.d.ts) Built-in Types (.d.ts)
License TypeMITPERMISSIVEBSD-3-ClausePERMISSIVE
Direct Dependencies47
Active Maintainers16
Last ReleaseSep 21, 2025Oct 16, 2026
Install Commandnpm i yupnpm i joi
Full Security ReportView yup AuditView joi Audit
Free Castov VS Code Tool

Compare Dependencies Directly in VS Code

Audit supply chain risks, compare lightweight alternative packages, and catch malicious install scripts straight inside your package.json editor.

Download VS Code Extension

Frequently Asked Questions

Which package is more popular, yup or joi?
joi is currently more popular with higher weekly downloads (14.6M/week) compared to yup (6.8M/week).
Which has better supply chain security, yup or joi?
yup has a security score of 100/100 (Grade A+), while joi holds 100/100 (Grade A+). Both packages have equal security standings.
Do yup and joi provide TypeScript definitions?
yup includes built-in TypeScript types, while joi includes native TypeScript definitions.
What licenses do yup and joi use?
yup is published under the MIT license (PERMISSIVE), and joi is licensed under BSD-3-Clause (PERMISSIVE).