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
Adoption
Sources
- 2026-11-08: links, Written in, GitHub stars
api.github.com/repos/icebob/fastest-validator - 2026-11-08: Categories, Runtime, Install with, License
raw.githubusercontent.com/icebob/fastest-validator/master/README.md - 2026-11-08: Maintainer
raw.githubusercontent.com/icebob/fastest-validator/master/LICENSE - 2026-11-08: Current major version, Last release
api.github.com/repos/icebob/fastest-validator/releases/latest - 2026-11-08: First release
registry.npmjs.org/fastest-validator - 2026-11-08: Contributors
api.github.com/repos/icebob/fastest-validator/contributors - 2026-11-08: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/fastest-validator