class-validator

Decorator-based property validation for classes. (by typestack)

Class-validator Alternatives

Similar projects and alternatives to class-validator

  1. zod

    441 class-validator VS zod

    TypeScript-first schema validation with static type inference

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. Nest

    390 class-validator VS Nest

    A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀

  4. Hasura

    237 class-validator VS Hasura

    Blazing fast, instant realtime GraphQL APIs on all your data with fine grained access control, also trigger webhooks on database events.

  5. TypeORM

    174 class-validator VS TypeORM

    TypeScript & JavaScript ORM for Node.js — supports PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, Oracle, and more.

  6. Yup

    132 class-validator VS Yup

    Dead simple Object schema validation

  7. typia

    91 class-validator VS typia

    Super-fast/easy runtime validators and serializers via transformation

  8. good-first-issue

    Make your first open-source contribution.

  9. io-ts

    81 class-validator VS io-ts

    Runtime type system for IO decoding/encoding

  10. ajv

    78 class-validator VS ajv

    The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)

  11. apollo-server

    🌍  Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more.

  12. typebox

    66 class-validator VS typebox

    JSON Schema Type Builder with Static Type Resolution for TypeScript

  13. Paste JSON as Code • quicktype

    Xcode extension to paste JSON as Swift, Objective-C, and more

  14. class-transformer

    Decorator-based transformation, serialization, and deserialization between objects and classes.

  15. Superstruct

    A simple and composable way to validate data in JavaScript (and TypeScript).

  16. FluentValidation

    A popular .NET validation library for building strongly-typed validation rules.

  17. joi

    15 class-validator VS joi

    Discontinued The most powerful data validation library for JS [Moved to: https://github.com/hapijs/joi]

  18. HTML Purifier

    Standards compliant HTML filter written in PHP

  19. Graphweaver

    Turn multiple data sources into a single GraphQL API

  20. typedi

    8 class-validator VS typedi

    Simple yet powerful dependency injection tool for JavaScript and TypeScript.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better class-validator alternative or higher similarity.

class-validator discussion

Log in or Post with

class-validator reviews and mentions

Posts with mentions or reviews of class-validator. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2026-01-13.

Stats

Basic class-validator repo stats
33
11,793
6.7
3 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that TypeScript is
the 2nd most popular programming language
based on number of references?