Packages

Data Validation & Schemas Packages

Runtime data validation and schema-definition libraries for catching malformed input before it reaches your application logic (Zod, Pydantic, Valibot).

148 packages

Packages in Data Validation & Schemas

92Health
Library npm

Zod

TypeScript-first schema validation with static type inference and zero dependencies.

44,052
MIT
Used by 277
93Health
Library PyPI

Pydantic

Data validation and settings management using Python type hints, backed by a Rust core.

28,891
MIT
Used by 104
85Health
Library npm

@hookform/resolvers

Official React Hook Form adapters that plug 20+ schema-validation libraries — Zod, Yup, Joi, Valibot, ArkType and more — straight into useForm's resolver.

2,263
MIT
Used by 93
91Health
Framework PyPI

FastAPI

A modern, high-performance Python web framework for building APIs with automatic validation, serialization, and interactive docs.

102,676
MIT
Used by 78
63Health
Library npm

Ajv

The fastest JSON Schema validator for Node.js and the browser, compiling schemas straight into executable validation code.

14,840
MIT
Used by 67
40Health
Library npm

prop-types

Runtime type checking for React component props, warning in development when data doesn't match the declared shape.

4,446
MIT
Used by 45
85Health
Library PyPI

packaging

Core Python utilities for versions, specifiers, markers, requirements, and metadata

751
Other
Used by 40
65Health
Library npm

ipaddr.js

A dependency-free JavaScript library for parsing, validating, and manipulating IPv4 and IPv6 addresses.

658
MIT
Used by 35
90Health
Library npm

@hono/zod-validator

Type-safe request validation middleware for Hono, powered by Zod schemas.

993
MIT
Used by 34
45Health
Library npm

zod-to-json-schema

Converts Zod validation schemas into standard JSON Schema, ready for OpenAPI, OpenAI, and JSON Schema draft 7 consumers.

1,254
Other
Used by 30
58Health
Library npm

yup

A schema builder for parsing and validating JavaScript and TypeScript values at runtime.

23,661
MIT
Used by 27
90Health
Library PyPI

jsonschema

The reference implementation of JSON Schema validation for Python, supporting every draft from 3 to 2020-12.

4,986
MIT
Used by 27
89Health
Library PyPI

pydantic-settings

Type-safe application settings management for Python, built on Pydantic models.

1,462
MIT
Used by 27
75Health
Library npm

validator.js

A dependency-free library of 100+ string validators and sanitizers for Node.js and the browser.

23,736
MIT
Used by 26
50Health
Library npm

@t3-oss/env-core

Typesafe environment variables for TypeScript, validated at boot with any Standard Schema validator.

4,008
MIT
Used by 26
42Health
Library npm

ajv-formats

ajv-formats: JSON Schema Format Validators for Ajv v8+

228
MIT
Used by 25
48Health
Library npm

class-validator

Decorator-based property validation for TypeScript and JavaScript classes, on both Node.js and the browser.

11,838
MIT
Used by 23
84Health
Library Go

validator

Go struct and field validation using reflection-based tags, with cross-field, cross-struct, and nested slice/array/map diving support.

20,179
MIT
Used by 22
80Health
Library PyPI

attrs

Python classes without boilerplate — generate init, repr, equality, and more from declarative field definitions.

5,846
MIT
Used by 22
49Health
Library npm

class-transformer

Decorator-based transformation between plain objects and class instances for TypeScript

7,339
MIT
Used by 21
91Health
Framework PyPI

django-rest-framework

The most widely-used toolkit for building Web APIs on top of Django, with serializers, viewsets, and a built-in browsable API.

30,191
BSD 3
Used by 15
87Health
Library npm

Valibot

Modular, type-safe schema validation library with bundle sizes starting under 1KB

9,023
MIT
Used by 15
39Health
Library npm

json-schema

A lightweight, historical CommonJS implementation of the original JSON Schema draft specifications

530
Other
Used by 15
73Health
Library npm

joi

The most powerful schema description language and data validator for JavaScript

21,172
Other
Used by 14

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers