# rickharrison/validate.js

Lightweight JavaScript form validation library inspired by CodeIgniter.

Repository: https://github.com/rickharrison/validate.js
Canonical: https://ross.abutalabs.com/products/rickharrison-validatejs
Homepage: http://rickharrison.github.io/validate.js
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: codeigniter, javascript, forms
Last push: 2020-03-02T10:45:04+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5437, "days_push": 2375, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2546, forks 396 (observed 2026-08-28T04:07:00.284738+00:00)

## What it is
A lightweight, dependency-free JavaScript form validation library modeled on the CodeIgniter form validation API. It validates form fields against a dozen-plus rules with customizable messages and custom validation callbacks.

## Use cases
- validate html form fields before submission
- add required and email validation to a form in vanilla javascript
- check password confirmation matches in a form
- customize validation error messages
- write custom validation rules with callbacks

## When to choose
- you need a tiny (~2kb gzipped) dependency-free form validator
- you like the CodeIgniter validation rule syntax
- you must support very old browsers like IE6

## When to avoid
- you want an actively maintained library with modern releases
- you need framework-integrated validation (React, Vue, Angular)
- you need async or schema-based validation

## Facets
- artifact type: library
- maturity: maintenance
- function: form-handling
- domain: web-development, frontend
- platform: browser
- tags: form-validation, codeigniter-inspired, no-dependencies, vanilla-javascript, forms, nodejs

## Member repositories
- rickharrison/validate.js (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:00.284738+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:24:36.211880+00:00, confidence not recorded.
  - readme: https://github.com/rickharrison/validate.js (fetched 2026-08-28T04:07:00.284738+00:00, sha 29ea35797bc8)
  - homepage: http://rickharrison.github.io/validate.js (fetched 2026-08-29T10:07:11.150473+00:00, sha 77bef3e60e8b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
