superstructv2.0.2, 6 Jul 2024
A simple and composable way to validate data in JavaScript (and TypeScript).
$ npm install superstructexpress-validatorv7.3.2, 1 Apr 2026
Express middleware for the validator module.
$ npm install express-validator| Metric | superstruct | express-validator | Difference |
|---|---|---|---|
| Weekly downloads | 4,705,564 | 1,147,537 | superstruct 4.1x higher |
| 12-month download growth | +93% | +14% | superstruct +79 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 0 | 2 | express-validator 2 more |
| Unpacked size | 178 kB | 142 kB | express-validator 25% smaller |
| Latest release | 2.0.2, 6 Jul 2024 | 7.3.2, 1 Apr 2026 | express-validator 21 months more recent |
| Releases, last 12 months | 0 | 3 | express-validator 3 more |
| First published | 25 Nov 2017 | 5 Oct 2011 | express-validator 6.1 years earlier |
| GitHub stars | 7,128 | 6,233 | superstruct +14% |
| Open issues | 82 | 60 | superstruct 22 more |
| Open pull requests | 22 | 18 | superstruct 4 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 0 | 43 | express-validator higher |
| TypeScript types | Bundled | Bundled | Same |
| Module format | ESM + CommonJS | CommonJS | Differs |
| 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.
superstruct4.7m latest weekexpress-validator1.1m latest week
Week of 23 Sept 2025Week of 15 Sept 2026
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
express-validator
Major versions
- 0.1.05 Oct 2011
- 1.0.011 Nov 2013
- 2.0.010 Mar 2014
- 3.0.024 Nov 2016
- 4.0.027 Aug 2017
- 5.0.010 Feb 2018
- 6.0.020 Jun 2019
- 7.0.015 Apr 2023
Last 5 releases
- 7.3.21 Apr 2026
- 7.3.119 Nov 2025
- 7.3.022 Oct 2025
- 7.2.129 Dec 2024
- 7.2.011 Aug 2024
125 releases in total, 3 in the last 12 months
superstruct
-
express-validator
-
superstruct
-
express-validator
-
- Need no runtime dependenciessuperstruct (superstruct has 0, express-validator has 2)
- Need both ESM and CommonJS entry pointssuperstruct (superstruct: ESM + CommonJS; express-validator: CommonJS)
- Need to load it with require()Both
- Need TypeScript types in the package itselfBoth
- Node.js version requirementsuperstruct: >=14.0.0; express-validator: >= 8.0.0 (engines field in package.json)
- Need the more recent releaseexpress-validator (7.3.2 on 1 Apr 2026 vs 2.0.2 on 6 Jul 2024)
- Higher weekly npm downloadssuperstruct (4.7m vs 1.1m)
Each line is generated from the data above.
- valibot vs superstructNo search data
superstruct: superstruct npm registry, superstruct npm downloads, superstruct GitHub. Data fetched 25 Sept 2026.
express-validator: express-validator npm registry, express-validator npm downloads, express-validator GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.