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,276
MIT
Used by 273
93Health
Library PyPI

Pydantic

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

29,349
MIT
Used by 103
80Health
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 92
92Health
Framework PyPI

FastAPI

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

104,527
MIT
Used by 78
59Health
Library npm

Ajv

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

14,872
MIT
Used by 65
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 44
86Health
Library PyPI

packaging

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

755
Other
Used by 40
91Health
Library npm

@hono/zod-validator

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

1,002
MIT
Used by 34
61Health
Library npm

ipaddr.js

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

663
MIT
Used by 34
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
90Health
Library PyPI

pydantic-settings

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

1,496
MIT
Used by 27
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 27
59Health
Library npm

validator.js

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

23,743
MIT
Used by 26
58Health
Library npm

yup

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

23,652
MIT
Used by 26
43Health
Library npm

ajv-formats

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

228
MIT
Used by 25
50Health
Library npm

@t3-oss/env-core

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

4,022
MIT
Used by 24
48Health
Library npm

class-validator

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

11,851
MIT
Used by 23
86Health
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,219
MIT
Used by 22
73Health
Library PyPI

attrs

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

5,863
MIT
Used by 22
48Health
Library npm

class-transformer

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

7,335
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,228
BSD 3
Used by 15
86Health
Library npm

Valibot

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

9,056
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
78Health
Library npm

joi

The most powerful schema description language and data validator for JavaScript

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