Skip to content
JS
Comparison

joi vs v8n

Schema validationPackage data 25 Sept 2026
joiv18.2.9, 11 Sept 2026

Object schema validation

$ npm install joi
v8nv1.5.1, 1 Jul 2022

Dead simple fluent JavaScript validation library

$ npm install v8n
Metricjoiv8nDifference
Weekly downloads19,571,079731,821joi 26.7x higher
12-month download growth+73%+309%v8n +236 pts
Gzip size---
Minified size---
Dependencies70joi 7 more
Unpacked size1.8 MB204 kBv8n 9.1x smaller
Latest release18.2.9, 11 Sept 20261.5.1, 1 Jul 2022joi 4.2 years more recent
Releases, last 12 months190joi 19 more
First published16 Sept 201225 Jun 2018joi 5.8 years earlier
GitHub stars21,1724,142joi 5.1x higher
Open issues1750joi 175 more
Open pull requests260joi 26 more
Contributors---
Commits, last 52 weeks700joi higher
TypeScript typesBundledBundledSame
Module formatCommonJSESM + CommonJSDiffers
Runtimes---
LicenseBSD-3-ClauseMITDiffers

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

joi19.4m latest weekv8n731.8k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

joi

Major versions
  1. 0.0.116 Sept 2012
  2. 1.0.016 Aug 2013
  3. 2.0.06 Nov 2013
  4. 3.0.08 Apr 2014
  5. 4.0.023 Apr 2014
  6. 5.0.030 Nov 2014
  7. 6.0.02 Mar 2015
  8. 7.0.01 Nov 2015
  9. 8.0.014 Feb 2016
  10. 9.0.09 Jul 2016
  11. 10.0.017 Nov 2016
  12. 11.0.014 Sept 2017
  13. 12.0.014 Oct 2017
  14. 13.0.014 Oct 2017
  15. 14.0.014 Oct 2018
  16. 17.1.116 Jul 2020
  17. 18.0.03 Aug 2025
Last 5 releases
  1. 17.13.811 Sept 2026
  2. 18.2.911 Sept 2026
  3. 18.2.82 Sept 2026
  4. 18.2.72 Sept 2026
  5. 17.13.72 Sept 2026
248 releases in total, 19 in the last 12 months

v8n

Major versions
  1. 0.0.025 Jun 2018
  2. 1.0.114 Jul 2018
Last 5 releases
  1. 1.5.11 Jul 2022
  2. 1.5.028 Jun 2022
  3. 1.4.017 Feb 2022
  4. 1.3.315 Sept 2019
  5. 1.3.220 May 2019
20 releases in total, 0 in the last 12 months
joi

-

v8n

-

joi

-

v8n

-

  • Need no runtime dependenciesv8n (joi has 7, v8n has 0)
  • Need both ESM and CommonJS entry pointsv8n (joi: CommonJS; v8n: ESM + CommonJS)
  • Need to load it with require()Both
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirementjoi: >= 20; v8n: none declared (engines field in package.json)
  • Need the more recent releasejoi (18.2.9 on 11 Sept 2026 vs 1.5.1 on 1 Jul 2022)
  • Higher weekly npm downloadsjoi (19.6m vs 731.8k)
  • Licensejoi: BSD-3-Clause; v8n: MIT

Each line is generated from the data above.

joi: joi npm registry, joi npm downloads, joi GitHub, joi jsDelivr. Data fetched 25 Sept 2026.
v8n: v8n npm registry, v8n npm downloads, v8n GitHub. Data fetched 25 Sept 2026.

Indexability: Indexed.