FindSoftware

fastest-validator

JavaScript validation library that compiles an object schema into a checker function for Node.js, browsers and Deno.

fastest-validator is a JavaScript library that validates plain objects against a schema. Each field in the schema gets a type and rules, such as a minimum length or a numeric range. The library compiles the schema into a checker function, which returns true or a list of error objects, one for each failing field.

The README lists built-in rules for types such as string, number, array, date, email and UUID. It also covers optional and nullable fields, custom and asynchronous validators, and custom error messages. The package is installed with npm, and the README shows use in Node.js, in a browser through a script tag, and in Deno. It names Moleculer as natively supported, and Fastify and Express as supported through separate packages.

Identity

Status
Active
Maintainer
Icebob3
Maintained by
Individual
First release
20175

Rendering and deploy

Install with
npm2

Releases

Current major version
14
Last release
2025-04-304

Adoption

GitHub stars
1,4631
npm downloads a week
181,5637
Contributors
406

Why these figures do not compare

Sources

  1. 2026-11-08: links, Written in, GitHub stars
    api.github.com/repos/icebob/fastest-validator
  2. 2026-11-08: Categories, Runtime, Install with, License
    raw.githubusercontent.com/icebob/fastest-validator/master/README.md
  3. 2026-11-08: Maintainer
    raw.githubusercontent.com/icebob/fastest-validator/master/LICENSE
  4. 2026-11-08: Current major version, Last release
    api.github.com/repos/icebob/fastest-validator/releases/latest
  5. 2026-11-08: First release
    registry.npmjs.org/fastest-validator
  6. 2026-11-08: Contributors
    api.github.com/repos/icebob/fastest-validator/contributors
  7. 2026-11-08: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/fastest-validator

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON