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

91Health
Library npm

Zod

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

44,182
MIT
Used by 278
93Health
Library PyPI

Pydantic

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

29,161
MIT
Used by 104
83Health
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,265
MIT
Used by 94
92Health
Framework PyPI

FastAPI

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

104,064
MIT
Used by 78
60Health
Library npm

Ajv

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

14,864
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,444
MIT
Used by 45
85Health
Library PyPI

packaging

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

752
Other
Used by 40
57Health
Library npm

ipaddr.js

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

662
MIT
Used by 35
91Health
Library npm

@hono/zod-validator

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

1,000
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,249
Other
Used by 30
59Health
Library npm

yup

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

23,657
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,993
MIT
Used by 27
89Health
Library PyPI

pydantic-settings

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

1,488
MIT
Used by 27
70Health
Library npm

validator.js

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

23,740
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,018
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,847
MIT
Used by 23
85Health
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,208
MIT
Used by 22
82Health
Library PyPI

attrs

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

5,860
MIT
Used by 22
48Health
Library npm

class-transformer

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

7,339
MIT
Used by 21
89Health
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,214
BSD 3
Used by 15
87Health
Library npm

Valibot

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

9,046
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
76Health
Library npm

joi

The most powerful schema description language and data validator for JavaScript

21,165
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