Skip to content
JS
Package category

Schema validation

Validate data shapes, parse untrusted input and infer types from schemas.

673 packages20 comparisons

Packages compared

673 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
next-public-env
Manage type-safe runtime environment variables in Next.js for both the server and the client.
11.1k--10 months ago
1.1.0
ESM onlyBundledSchema validation, React
computed-types
Runtime validation types for TypeScript.
10.9k+488%-4 years ago
1.11.2
ESM + CommonJSBundledSchema validation, TypeScript tooling
drizzle-valibot
Generate valibot schemas from Drizzle ORM schemas
10.8k+150%-1 year ago
0.4.2
ESM + CommonJSBundledORMs and query builders, Schema validation
@shotstack/schemas
Centralized OpenAPI schemas and TypeScript types for Shotstack API
10.2k---22 days ago
1.18.3
ESM + CommonJSBundledDocumentation tooling, Video and audio
rdf-validation
Validate RDF/JS objects
10.2k+386%-2 years ago
0.1.1
ESM onlyNoneSchema validation
french-ssn
🇫🇷 A parser / validator for French Social Security Number
10.1k+79%-4 years ago
4.1.0
CommonJSNoneSchema validation
json-ref-lite
Extremely light weight way to resolve jsonschema '$ref' references & inheritance: create circular/graphs, fractals from json (browser/coffeescript/javascript).
10k-10%-9 years ago
1.1.0
CommonJSNoneSchema validation
express-zod-safe
TypeScript-friendly middleware designed for Express applications, leveraging the robustness of Zod schemas to validate incoming request bodies, parameters, and queries.
10k+219%-5 months ago
3.2.1
ESM + CommonJSBundledSchema validation, HTTP servers and web frameworks
validate.io-undefined
Validates if a value is undefined.
10k+8%-11 years ago
1.0.3
CommonJSNoneSchema validation
@openclaw/gateway-protocol
Typed schemas and runtime validators for the OpenClaw Gateway WebSocket protocol
10k---1 day ago
2026.9.6
ESM onlyBundledSchema validation, WebSockets and realtime
openapi-data-validator
Automatically validate API requests and responses with OpenAPI 3.
9.7k+196%-11 months ago
2.0.54
CommonJSBundledDocumentation tooling, HTTP servers and web frameworks
twilio-flex-token-validator
Flex JWE Token Validator
9.6k-71%-2 years ago
1.6.0
CommonJSBundledSchema validation
rests
Easily generate API client's SDK — organize and simplify API Requests.
9.2k+170%-2 years ago
1.1.1
CommonJSBundledHTTP clients, Schema validation
@accordproject/concerto-util
Utilities for Concerto Modeling Language
9.1k---17 days ago
5.0.0
ESM + CommonJSBundledTypeScript tooling, Blockchain and Web3
@spec2ts/jsonschema
Utility to convert JSON Schemas to Typescript using TypeScript native compiler
9k---18 days ago
4.1.1
ESM onlyBundledSchema validation, TypeScript tooling
mcp-from-openapi
Production-ready library for converting OpenAPI specifications into MCP tool definitions
9k--1 month ago
2.7.0
ESM + CommonJSBundledDocumentation tooling, Schema validation
@env-spec/parser
Parser for @env-spec enabled dotenv files
8.9k---7 days ago
0.6.0
ESM + CommonJSBundledConfiguration, Node.js utilities
validator.js
Powerful object and string validation in Javascript.
8.9k+1%-6 years ago
2.0.4
CommonJSNoneSchema validation
unquoted-property-validator
Unquoted JavaScript property name validator
8.8k+41%-7 years ago
1.1.0
CommonJSBundledSchema validation
prismabox
Typebox generator for prisma schema
8.7k+282%-9 months ago
1.1.26
-NoneORMs and query builders, Schema validation
@jsonhero/schema-infer
Infers JSON Schemas from example JSON
8.6k---3 years ago
0.1.5
CommonJSBundledSchema validation, Parsers and serialisers
@stdy/cli
OpenAPI 3 mock server. Validates SDKs against OpenAPI specs with clear error attribution.
8.5k---3 months ago
0.22.2
-NoneSchema validation, Dev servers and API mocking
ow-lite
Lightweight replacement for the ow validation library meant for browser usage.
8.3k-20%-8 years ago
0.0.2
CommonJSNoneSchema validation
@lssm-tech/lib.schema
Schema utilities for Zod, JSON Schema, and GraphQL
8.3k---6 days ago
6.0.5
ESM onlyBundledSchema validation, GraphQL
compose-spec-schema
TypeScript type and JSON schema for `docker-compose.yml`
8.2k+5377%-4 years ago
1.0.0
CommonJSBundledSchema validation, TypeScript tooling
zod-prisma
A Prisma generator that creates Zod schemas for all of your models
8k-11%-4 years ago
0.5.4
ESM + CommonJSBundledORMs and query builders, Schema validation
@lavamoat/sourcemap-validator
Map all the things, check all the maps
8k---1 year ago
2.1.1
-NoneSchema validation
@fastify/response-validation
A simple plugin that enables response validation for Fastify.
7.9k---1 month ago
3.0.4
CommonJSBundledSchema validation
next-typesafe-url
Fully typesafe, JSON serializable, and zod validated URL search params, dynamic route params, and routing for NextJS pages directory
7.8k+86%-11 months ago
6.1.0
ESM + CommonJSBundledSchema validation
@spec2ts/cli
Utility to convert specifications (Open API, JSON Schemas) to TypeScript using TypeScript native compiler
7.8k---18 days ago
4.0.5
ESM onlyNoneSchema validation, CLI tools and terminal utilities
gubu
An object shape validation utility.
7.8k-15%-1 year ago
9.0.0
CommonJSBundledSchema validation
express-zod-validations
Express middleware to validate request (headers, params, query, body) using Zod
7.7k--2 months ago
0.1.2
ESM onlyBundledHTTP servers and web frameworks, Schema validation
typed-immutable
Immutable structurally typed data
7.7k+149%-9 years ago
0.1.2
CommonJSNoneSchema validation, TypeScript tooling
@vibe-agent-toolkit/agent-config
Agent manifest loading and validation
7.7k---1 month ago
0.1.42
ESM onlyBundledSchema validation
@vibe-validate/git
Git utilities for vibe-validate - tree hash calculation, branch sync, and post-merge cleanup
7.6k---1 month ago
0.20.1
ESM onlyBundledSchema validation
mongoose-schema-jsonschema
Mongoose extension that allows to build json schema for mongoose models, schemas and queries
7.5k-5%-9 months ago
4.0.1
CommonJSNoneSchema validation, Parsers and serialisers
koa-joi-router
Configurable, input validated routing for koa.
7.5k-24%-5 years ago
8.0.0
CommonJSNoneSchema validation, Routing
kanel-zod
Zod extension for Kanel
7.5k+55%-2 months ago
4.0.1
CommonJSBundledSchema validation
@zodios/express
Typescript express server
7.4k---3 years ago
10.6.1
ESM + CommonJSBundledSchema validation
gavel
Validator of HTTP transactions (JavaScript implementation)
7.4k+9%-4 years ago
10.0.4
CommonJSBundledSchema validation
node-restify-validation
```diff -Maintener wanted ``` Validation for REST Services built with [node-restify](https://github.com/mcavage/node-restify) in node.js
7.3k+37%-8 years ago
1.3.0
CommonJSNoneSchema validation
ssn-validator
Social Security Number validator and masker
7.3k-53%-10 years ago
2.0.1
CommonJSNoneSchema validation
zlye
A type-safe CLI parser with a Zod-like schema validation.
7.3k+559%-11 months ago
0.4.4
ESM + CommonJSBundledCLI tools and terminal utilities, Schema validation
@lushly-dev/afd-server
Server-side utilities for building AFD-compliant MCP servers with Zod validation
7.2k---6 months ago
1.0.0
ESM onlyBundledSchema validation
typeof-arguments
Validate the type of arguments passed through the function.
7.1k-37%-6 years ago
5.1.3
CommonJSNoneSchema validation
approvejs
A simple JavaScript validation library that doesn't interfere.
7.1k+123%-9 years ago
3.1.2
CommonJSNoneSchema validation
purify
Validator functions for many types of input, intended for use with express
7k-20%-2 years ago
3.5.0
CommonJSNoneSchema validation, HTTP servers and web frameworks
webpack-validator
Validate your webpack config with joi
7k-7%-8 years ago
3.0.1
CommonJSNoneSchema validation
json-schema-generator
JSON schema generator based on draft-v4.
6.9k-23%-8 years ago
2.0.6
CommonJSNoneSchema validation
@remix-run/data-schema
Tiny, standards-aligned schema validation
6.9k---6 days ago
0.3.1
ESM onlyBundledSchema validation

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.