# fastest-validator

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


Source: https://findsoftware.frbit.cloud/fastest-validator/
Last reviewed: 2026-11-08
Listed since: 2026-11-08

## Record

### Links

- repository: https://github.com/icebob/fastest-validator
- x: https://twitter.com/Icebobcsi

### Identity

- status: active
- maintainer: Icebob
- maintainerType: individual
- parent: unknown
- firstRelease: 2017
- hqCountry: unknown

### Kind

- category: library
- hosting: node, deno
- language: javascript
- runtime: node, deno
- runtimeMin: unknown
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: npm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 1
- latestReleaseDate: 2025-04-30

### Adoption

- githubStargazers: 1463
- packagistDownloads: not applicable
- npmWeeklyDownloads: 181563
- contributors: 40
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://api.github.com/repos/icebob/fastest-validator (read 2026-11-08)
- language: https://api.github.com/repos/icebob/fastest-validator (read 2026-11-08)
- category: https://raw.githubusercontent.com/icebob/fastest-validator/master/README.md (read 2026-11-08)
- runtime: https://raw.githubusercontent.com/icebob/fastest-validator/master/README.md (read 2026-11-08)
- installMethod: https://raw.githubusercontent.com/icebob/fastest-validator/master/README.md (read 2026-11-08)
- installMethod: https://raw.githubusercontent.com/icebob/fastest-validator/master/README.md (read 2026-11-08)
- license: https://raw.githubusercontent.com/icebob/fastest-validator/master/README.md (read 2026-11-08)
- maintainer: https://raw.githubusercontent.com/icebob/fastest-validator/master/LICENSE (read 2026-11-08)
- currentMajor: https://api.github.com/repos/icebob/fastest-validator/releases/latest (read 2026-11-08)
- latestReleaseDate: https://api.github.com/repos/icebob/fastest-validator/releases/latest (read 2026-11-08)
- firstRelease: https://registry.npmjs.org/fastest-validator (read 2026-11-08)
- githubStargazers: https://api.github.com/repos/icebob/fastest-validator (read 2026-11-08)
- contributors: https://api.github.com/repos/icebob/fastest-validator/contributors (read 2026-11-08)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/fastest-validator (read 2026-11-08)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
