valibotv1.5.0, 9 Sept 2026
The modular and type safe schema library for validating structural data
$ npm install valibotsuperstructv2.0.2, 6 Jul 2024
A simple and composable way to validate data in JavaScript (and TypeScript).
$ npm install superstruct| Metric | valibot | superstruct | Difference |
|---|---|---|---|
| Weekly downloads | 13,370,944 | 4,705,564 | valibot 2.8x higher |
| 12-month download growth | +704% | +93% | valibot +610 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 0 | 0 | Same |
| Unpacked size | 1.8 MB | 178 kB | superstruct 10.2x smaller |
| Latest release | 1.5.0, 9 Sept 2026 | 2.0.2, 6 Jul 2024 | valibot 2.2 years more recent |
| Releases, last 12 months | 7 | 0 | valibot 7 more |
| First published | 12 Jul 2023 | 25 Nov 2017 | superstruct 5.6 years earlier |
| GitHub stars | 9,021 | 7,128 | valibot +27% |
| Open issues | 88 | 82 | valibot 6 more |
| Open pull requests | 98 | 22 | valibot 76 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 464 | 0 | valibot higher |
| TypeScript types | Bundled | Bundled | Same |
| Module format | ESM + CommonJS | ESM + CommonJS | Same |
| Runtimes | - | - | - |
| License | MIT | MIT | Same |
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.
valibot13.4m latest weeksuperstruct4.7m latest week
Week of 23 Sept 2025Week of 15 Sept 2026
valibot
Major versions
- 0.1.012 Jul 2023
- 1.0.019 Mar 2025
Last 5 releases
- 1.5.09 Sept 2026
- 1.4.228 Jun 2026
- 1.4.124 May 2026
- 1.4.05 May 2026
- 1.3.118 Mar 2026
64 releases in total, 7 in the last 12 months
superstruct
Major versions
- 0.0.125 Nov 2017
- 1.0.017 Nov 2022
- 2.0.03 Jul 2024
Last 5 releases
- 2.0.26 Jul 2024
- 2.0.16 Jul 2024
- 2.0.03 Jul 2024
- 1.0.411 Mar 2024
- 1.0.317 Nov 2022
86 releases in total, 0 in the last 12 months
valibot
-
superstruct
-
valibot
-
superstruct
-
- Need no runtime dependenciesBoth
- Module formatBoth ESM + CommonJS
- Need TypeScript types in the package itselfBoth
- Node.js version requirementvalibot: none declared; superstruct: >=14.0.0 (engines field in package.json)
- Need the more recent releasevalibot (1.5.0 on 9 Sept 2026 vs 2.0.2 on 6 Jul 2024)
- Higher weekly npm downloadsvalibot (13.4m vs 4.7m)
Each line is generated from the data above.
- valibot vs zod140 searches/mo
- superstruct vs express-validatorNo search data
valibot: valibot npm registry, valibot npm downloads, valibot GitHub, valibot jsDelivr. Data fetched 25 Sept 2026.
superstruct: superstruct npm registry, superstruct npm downloads, superstruct GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.