# icebob/fastest-validator

:zap: The fastest JS validator library for NodeJS

Repository: https://github.com/icebob/fastest-validator
Canonical: https://ross.abutalabs.com/products/fastest-validator
Language: JavaScript
License: MIT
License Family: permissive
Topics: validator, validate, schema-validation, schema
Last push: 2026-08-20T21:39:10+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 8, longevity 100
- inputs: {"age_days": 3465, "days_push": 13, "days_rel": 490, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1463, forks 100 (observed 2026-08-28T04:04:47.738394+00:00)

## What it is
A schema-based data validation library for JavaScript with 24 built-in validators, sanitization, and custom validator support. It compiles schemas into checker functions to achieve extremely high validation throughput.

## Use cases
- validate request payloads in a NodeJS API
- validate nested objects and arrays against a schema
- sanitize and coerce user input before processing
- validate data in the browser or Deno
- replace Joi with a faster validation library
- define custom validators and reusable schema aliases
- return structured, customizable validation error messages

## When to choose
- validation throughput is critical (millions of checks per second)
- you want schema-based validation with zero dependencies
- you need nested object/array validation with sanitization
- you need the same validator across NodeJS, browser, and Deno

## When to avoid
- you prefer declarative validation with rich plugin ecosystems like Joi or Zod
- you need TypeScript-first type inference from schemas
- you are uncomfortable with Function-constructor code generation

## Facets
- artifact type: library
- maturity: stable
- function: testing, developer-tools
- domain: web-development, backend, developer-tools, apis
- platform: browser
- tags: schema-validation, validation, data-validation, sanitization, performance, zero-dependencies, nodejs, deno, javascript

## Member repositories
- icebob/fastest-validator (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:47.738394+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-30T04:35:13.365553+00:00, confidence not recorded.
  - readme: https://github.com/icebob/fastest-validator (fetched 2026-08-28T04:04:47.738394+00:00, sha 9f0c32ddb11d)
  - registry_npm: https://registry.npmjs.org/fastest-validator (fetched 2026-08-29T11:44:01.773689+00:00, sha 93029c4bf830)
- Data as of 2026-08-30T08:39:29.467469+00:00.
