express-validator/express-validator
An express.js middleware for validator.js. observed · 2026-08-28
Health v2 · maintenance only
82/100
- Activity 96
- Release rhythm 53
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 133
- age_days: 5446
- days_rel: 154
- days_push: 24
- n_releases_24m: 4
Adoption not part of the score
6236 stars · 626 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
express-validator is an Express.js middleware wrapping the validator.js library for request validation and sanitization. It lets you declare validation rules for route parameters, query strings, and request bodies in Express applications.
Use cases
- validate request bodies in express apis
- sanitize user input to prevent xss
- validate query params and route params
- add input validation middleware to express routes
- check email and url formats in nodejs forms
When to choose
- you build Express.js APIs and need declarative request validation
- you want sanitization and validation in one middleware
- you prefer validator.js rules with a fluent chainable API
When to avoid
- you use Fastify, Koa, or a non-Express framework
- you need schema-based validation like Joi or Zod
- your app does not run on Node.js 14 or newer
Facets
library · maturity stable
middleware form-handling security web-development backend apis express validation sanitization validator-js request-validation nodejs javascript
3 sources
- readme: https://github.com/express-validator/express-validator · fetched 2026-08-28 · 98f63158fee4
- homepage: https://express-validator.github.io · fetched 2026-08-29 · 0904bec34fe3
- registry_npm: https://registry.npmjs.org/express-validator · fetched 2026-08-29 · 7450dafce5fb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| express-validator/express-validator | main | 82 |
For agents
markdown · JSON · MCP: product_card(name="express-validator/express-validator")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem