ansman/validate.js
A declarative validation library written javascript observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4350
- days_rel: n/a
- days_push: 1726
- n_releases_24m: 0
Adoption not part of the score
2598 stars · 336 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Validate.js is a zero-dependency JavaScript library for declaratively validating objects using constraint definitions that can be shared between client and server. It supports sync and promise-based async validation and multiple error output formats.
Use cases
- validate form input in the browser
- validate JSON payloads on a node.js server
- share validation constraints between client and server
- run async validations with promises
- validate objects against declarative constraint definitions
When to choose
- you need a lightweight, dependency-free validation library for legacy JavaScript projects
- you want constraints declared in JSON and shared across client and server
- you need both synchronous and promise-based validation
When to avoid
- you are starting a new project and want an actively maintained library
- you need new features or bug fixes, since the project is archived
- you want TypeScript support or modern ecosystem integration
Facets
library · maturity abandoned
testing form-handling developer-tools web-development frontend backend developer-tools browser cross-platform validation declarative-validation data-validation schema-validation archived no-dependencies nodejs javascript
4 sources
- readme: https://github.com/ansman/validate.js · fetched 2026-08-28 · f9261509cf04
- homepage: https://validatejs.org · fetched 2026-08-29 · 36742130dd88
- site_page: https://validatejs.org/docs/validate.html · fetched 2026-08-29 · e99edbbe8762
- registry_npm: https://registry.npmjs.org/validate.js · fetched 2026-08-29 · 2deeb69ef9c5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ansman/validate.js | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="ansman/validate.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem