Package category
Schema validation
Validate data shapes, parse untrusted input and infer types from schemas.
673 packages20 comparisons
Packages compared
673 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| 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 only | Bundled | Schema validation, React | |
| computed-types Runtime validation types for TypeScript. | 10.9k | +488% | - | 4 years ago 1.11.2 | ESM + CommonJS | Bundled | Schema validation, TypeScript tooling | |
| drizzle-valibot Generate valibot schemas from Drizzle ORM schemas | 10.8k | +150% | - | 1 year ago 0.4.2 | ESM + CommonJS | Bundled | ORMs 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 + CommonJS | Bundled | Documentation tooling, Video and audio |
| rdf-validation Validate RDF/JS objects | 10.2k | +386% | - | 2 years ago 0.1.1 | ESM only | None | Schema validation | |
| french-ssn 🇫🇷 A parser / validator for French Social Security Number | 10.1k | +79% | - | 4 years ago 4.1.0 | CommonJS | None | Schema 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 | CommonJS | None | Schema 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 + CommonJS | Bundled | Schema validation, HTTP servers and web frameworks | |
| validate.io-undefined Validates if a value is undefined. | 10k | +8% | - | 11 years ago 1.0.3 | CommonJS | None | Schema validation | |
| @openclaw/gateway-protocol Typed schemas and runtime validators for the OpenClaw Gateway WebSocket protocol | 10k | - | - | - | 1 day ago 2026.9.6 | ESM only | Bundled | Schema 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 | CommonJS | Bundled | Documentation tooling, HTTP servers and web frameworks | |
| twilio-flex-token-validator Flex JWE Token Validator | 9.6k | -71% | - | 2 years ago 1.6.0 | CommonJS | Bundled | Schema validation | |
| rests Easily generate API client's SDK — organize and simplify API Requests. | 9.2k | +170% | - | 2 years ago 1.1.1 | CommonJS | Bundled | HTTP clients, Schema validation | |
| @accordproject/concerto-util Utilities for Concerto Modeling Language | 9.1k | - | - | - | 17 days ago 5.0.0 | ESM + CommonJS | Bundled | TypeScript 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 only | Bundled | Schema 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 + CommonJS | Bundled | Documentation tooling, Schema validation | |
| @env-spec/parser Parser for @env-spec enabled dotenv files | 8.9k | - | - | - | 7 days ago 0.6.0 | ESM + CommonJS | Bundled | Configuration, Node.js utilities |
| validator.js Powerful object and string validation in Javascript. | 8.9k | +1% | - | 6 years ago 2.0.4 | CommonJS | None | Schema validation | |
| unquoted-property-validator Unquoted JavaScript property name validator | 8.8k | +41% | - | 7 years ago 1.1.0 | CommonJS | Bundled | Schema validation | |
| prismabox Typebox generator for prisma schema | 8.7k | +282% | - | 9 months ago 1.1.26 | - | None | ORMs and query builders, Schema validation | |
| @jsonhero/schema-infer Infers JSON Schemas from example JSON | 8.6k | - | - | - | 3 years ago 0.1.5 | CommonJS | Bundled | Schema 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 | - | None | Schema 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 | CommonJS | None | Schema validation | |
| @lssm-tech/lib.schema Schema utilities for Zod, JSON Schema, and GraphQL | 8.3k | - | - | - | 6 days ago 6.0.5 | ESM only | Bundled | Schema validation, GraphQL |
| compose-spec-schema TypeScript type and JSON schema for `docker-compose.yml` | 8.2k | +5377% | - | 4 years ago 1.0.0 | CommonJS | Bundled | Schema 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 + CommonJS | Bundled | ORMs and query builders, Schema validation | |
| @lavamoat/sourcemap-validator Map all the things, check all the maps | 8k | - | - | - | 1 year ago 2.1.1 | - | None | Schema validation |
| @fastify/response-validation A simple plugin that enables response validation for Fastify. | 7.9k | - | - | - | 1 month ago 3.0.4 | CommonJS | Bundled | Schema 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 + CommonJS | Bundled | Schema 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 only | None | Schema validation, CLI tools and terminal utilities |
| gubu An object shape validation utility. | 7.8k | -15% | - | 1 year ago 9.0.0 | CommonJS | Bundled | Schema validation | |
| express-zod-validations Express middleware to validate request (headers, params, query, body) using Zod | 7.7k | - | - | 2 months ago 0.1.2 | ESM only | Bundled | HTTP servers and web frameworks, Schema validation | |
| typed-immutable Immutable structurally typed data | 7.7k | +149% | - | 9 years ago 0.1.2 | CommonJS | None | Schema validation, TypeScript tooling | |
| @vibe-agent-toolkit/agent-config Agent manifest loading and validation | 7.7k | - | - | - | 1 month ago 0.1.42 | ESM only | Bundled | Schema 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 only | Bundled | Schema 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 | CommonJS | None | Schema validation, Parsers and serialisers | |
| koa-joi-router Configurable, input validated routing for koa. | 7.5k | -24% | - | 5 years ago 8.0.0 | CommonJS | None | Schema validation, Routing | |
| kanel-zod Zod extension for Kanel | 7.5k | +55% | - | 2 months ago 4.0.1 | CommonJS | Bundled | Schema validation | |
| @zodios/express Typescript express server | 7.4k | - | - | - | 3 years ago 10.6.1 | ESM + CommonJS | Bundled | Schema validation |
| gavel Validator of HTTP transactions (JavaScript implementation) | 7.4k | +9% | - | 4 years ago 10.0.4 | CommonJS | Bundled | Schema 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 | CommonJS | None | Schema validation | |
| ssn-validator Social Security Number validator and masker | 7.3k | -53% | - | 10 years ago 2.0.1 | CommonJS | None | Schema validation | |
| zlye A type-safe CLI parser with a Zod-like schema validation. | 7.3k | +559% | - | 11 months ago 0.4.4 | ESM + CommonJS | Bundled | CLI 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 only | Bundled | Schema validation |
| typeof-arguments Validate the type of arguments passed through the function. | 7.1k | -37% | - | 6 years ago 5.1.3 | CommonJS | None | Schema validation | |
| approvejs A simple JavaScript validation library that doesn't interfere. | 7.1k | +123% | - | 9 years ago 3.1.2 | CommonJS | None | Schema validation | |
| purify Validator functions for many types of input, intended for use with express | 7k | -20% | - | 2 years ago 3.5.0 | CommonJS | None | Schema validation, HTTP servers and web frameworks | |
| webpack-validator Validate your webpack config with joi | 7k | -7% | - | 8 years ago 3.0.1 | CommonJS | None | Schema validation | |
| json-schema-generator JSON schema generator based on draft-v4. | 6.9k | -23% | - | 8 years ago 2.0.6 | CommonJS | None | Schema validation | |
| @remix-run/data-schema Tiny, standards-aligned schema validation | 6.9k | - | - | - | 6 days ago 0.3.1 | ESM only | Bundled | Schema 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.
- next-public-envManage type-safe runtime environment variables in Next.js for both the server and the client.
- computed-typesRuntime validation types for TypeScript.
- drizzle-valibotGenerate valibot schemas from Drizzle ORM schemas
- @shotstack/schemasCentralized OpenAPI schemas and TypeScript types for Shotstack API
- rdf-validationValidate RDF/JS objects
- french-ssn🇫🇷 A parser / validator for French Social Security Number
- json-ref-liteExtremely light weight way to resolve jsonschema '$ref' references & inheritance: create circular/graphs, fractals from json (browser/coffeescript/javascript).
- express-zod-safeTypeScript-friendly middleware designed for Express applications, leveraging the robustness of Zod schemas to validate incoming request bodies, parameters, and queries.
- validate.io-undefinedValidates if a value is undefined.
- @openclaw/gateway-protocolTyped schemas and runtime validators for the OpenClaw Gateway WebSocket protocol
- openapi-data-validatorAutomatically validate API requests and responses with OpenAPI 3.
- twilio-flex-token-validatorFlex JWE Token Validator
- restsEasily generate API client's SDK — organize and simplify API Requests.
- @accordproject/concerto-utilUtilities for Concerto Modeling Language
- @spec2ts/jsonschemaUtility to convert JSON Schemas to Typescript using TypeScript native compiler
- mcp-from-openapiProduction-ready library for converting OpenAPI specifications into MCP tool definitions
- @env-spec/parserParser for @env-spec enabled dotenv files
- validator.jsPowerful object and string validation in Javascript.
- unquoted-property-validatorUnquoted JavaScript property name validator
- prismaboxTypebox generator for prisma schema
- @jsonhero/schema-inferInfers JSON Schemas from example JSON
- @stdy/cliOpenAPI 3 mock server. Validates SDKs against OpenAPI specs with clear error attribution.
- ow-liteLightweight replacement for the ow validation library meant for browser usage.
- @lssm-tech/lib.schemaSchema utilities for Zod, JSON Schema, and GraphQL
- compose-spec-schemaTypeScript type and JSON schema for `docker-compose.yml`
- zod-prismaA Prisma generator that creates Zod schemas for all of your models
- @lavamoat/sourcemap-validatorMap all the things, check all the maps
- @fastify/response-validationA simple plugin that enables response validation for Fastify.
- next-typesafe-urlFully typesafe, JSON serializable, and zod validated URL search params, dynamic route params, and routing for NextJS pages directory
- @spec2ts/cliUtility to convert specifications (Open API, JSON Schemas) to TypeScript using TypeScript native compiler
- gubuAn object shape validation utility.
- express-zod-validationsExpress middleware to validate request (headers, params, query, body) using Zod
- typed-immutableImmutable structurally typed data
- @vibe-agent-toolkit/agent-configAgent manifest loading and validation
- @vibe-validate/gitGit utilities for vibe-validate - tree hash calculation, branch sync, and post-merge cleanup
- mongoose-schema-jsonschemaMongoose extension that allows to build json schema for mongoose models, schemas and queries
- koa-joi-routerConfigurable, input validated routing for koa.
- kanel-zodZod extension for Kanel
- @zodios/expressTypescript express server
- gavelValidator of HTTP transactions (JavaScript implementation)
- node-restify-validation```diff -Maintener wanted ``` Validation for REST Services built with [node-restify](https://github.com/mcavage/node-restify) in node.js
- ssn-validatorSocial Security Number validator and masker
- zlyeA type-safe CLI parser with a Zod-like schema validation.
- @lushly-dev/afd-serverServer-side utilities for building AFD-compliant MCP servers with Zod validation
- typeof-argumentsValidate the type of arguments passed through the function.
- approvejsA simple JavaScript validation library that doesn't interfere.
- purifyValidator functions for many types of input, intended for use with express
- webpack-validatorValidate your webpack config with joi
- json-schema-generatorJSON schema generator based on draft-v4.
- @remix-run/data-schemaTiny, standards-aligned schema validation
- valibot vs zod
- @asteasolutions/zod-to-openapi vs zod-openapi
- @hey-api/openapi-ts vs zod-openapi
- @hey-api/openapi-ts vs @asteasolutions/zod-to-openapi
- convict vs envalid
- type-graphql vs quicktype-core
- io-ts vs runtypes
- json-schema-to-typescript vs ts-json-schema-generator
- valibot vs superstruct
- @standard-schema/spec vs json-schema-to-ts
- @standard-schema/spec vs runtypes
- typebox vs ts-json-schema-generator
- @standard-schema/spec vs io-ts
- superstruct vs express-validator
- @apidevtools/swagger-parser vs @zodios/core
- json-schema-to-ts vs runtypes
- effect vs json-schema-to-ts
- graphql-scalars vs graphql-query-complexity
- joi vs v8n
- json-schema-to-ts vs io-ts