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 |
|---|---|---|---|---|---|---|---|---|
| @t3-oss/env-nextjs  [](https://jsr.io/@t3-oss/env-core) [](https://jsr.io/@t3-oss/env-core) [ validator that uses code generation to be extremely fast. | 1.4m | -2% | - | 4 years ago 2.20.6 | - | - | Schema validation | |
| @mastra/schema-compat Tool schema compatibility layer for Mastra.ai | 1.3m | - | - | - | 3 days ago 1.3.11 | - | - | Schema validation |
| @json-render/core JSON becomes real things. Define your catalog, register your components, let AI generate. | 1.2m | - | - | - | 6 days ago 0.21.0 | ESM + CommonJS | Bundled | Schema validation |
| express-validator Express middleware for the validator module. | 1.1m | +14% | - | 5 months ago 7.3.2 | CommonJS | Bundled | Schema validation, HTTP servers and web frameworks | |
| zod-openapi Convert Zod Schemas to OpenAPI v3.x documentation | 994k | +287% | - | 25 days ago 6.0.2 | ESM + CommonJS | Bundled | Documentation tooling, Schema validation | |
| swagger-parser Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers | 985.9k | -3% | - | 5 years ago 10.0.3 | CommonJS | Bundled | Schema validation, Documentation tooling | |
| hono-openapi OpenAPI schema generator for Hono | 971.7k | +391% | - | 12 days ago 1.3.3 | ESM + CommonJS | Bundled | Documentation tooling, Schema validation | |
| json-schema-ref-parser Parse, Resolve, and Dereference JSON Schema $ref pointers | 968.9k | +2% | - | 5 years ago 9.0.9 | CommonJS | Bundled | Schema validation, Parsers and serialisers | |
| parse-semver Parse, normalize and validate given semver shorthand (e.g. gulp@v3.8.10) to object. | 968.5k | +95% | - | 10 years ago 1.1.1 | CommonJS | None | Schema validation | |
| airbnb-prop-types Custom React PropType validators that we use at Airbnb. | 967.6k | -22% | - | 6 years ago 2.16.0 | CommonJS | None | React, Schema validation | |
| tcomb-validation General purpose validation library for JavaScript | 929.9k | -25% | - | 9 years ago 3.4.1 | CommonJS | Bundled | Schema validation | |
| convict Featureful configuration management library for Node.js (nested structure, schema validation, etc.) | 883.5k | +44% | - | 6 months ago 6.2.5 | CommonJS | None | Configuration, Schema validation | |
| @metamask/superstruct A simple and composable way to validate data in JavaScript (and TypeScript). | 813.8k | - | - | - | 2 months ago 3.4.1 | ESM + CommonJS | Bundled | Schema validation, HTTP servers and web frameworks |
| @scalar/typebox Json Schema Type Builder with Static Type Resolution for TypeScript | 806.3k | - | - | - | 8 months ago 0.1.3 | ESM + CommonJS | Bundled | Schema validation, TypeScript tooling |
| exact-mirror Mirror exact value to TypeBox/OpenAPI model | 785.7k | +644% | - | 18 days ago 1.2.6 | ESM + CommonJS | Bundled | Schema validation | |
| is-base64 Predicate that returns true if base64 string. | 782.7k | +82% | - | 6 years ago 1.1.0 | CommonJS | None | Cryptography and hashing, Schema validation | |
| fastify-type-provider-zod Zod Type Provider for Fastify@5 | 777.4k | +509% | - | 3 months ago 7.0.0 | ESM + CommonJS | Bundled | HTTP servers and web frameworks, Schema validation | |
| graphql-query-complexity Validation rule for GraphQL query complexity analysis | 772k | +108% | - | 2 months ago 2.0.0 | ESM + CommonJS | Bundled | GraphQL, Schema validation | |
| @readme/openapi-parser Swagger 2.0 and OpenAPI 3.x parser and validator for Node and browsers | 768.9k | - | - | - | 21 days ago 9.0.0 | ESM + CommonJS | Bundled | Documentation tooling, Schema validation |
| validate.js Declarative validations for JavaScript | 760.7k | +53% | - | 7 years ago 0.13.1 | CommonJS | Bundled | Schema validation | |
| v8n Dead simple fluent JavaScript validation library | 731.8k | +309% | - | 4 years ago 1.5.1 | ESM + CommonJS | Bundled | Schema validation | |
| revalidator A cross-browser / node.js validator powered by JSON Schema | 714.2k | +12% | - | 11 years ago 0.3.1 | CommonJS | None | Schema validation | |
| ts-json-schema-generator Generate JSON schema from your Typescript sources | 687.5k | +116% | - | 6 months ago 2.9.0 | CommonJS | Bundled | Schema validation, TypeScript tooling | |
| untruncate-json Fix up the end of a partial JSON string to create valid JSON. | 686.8k | +841% | - | 6 years ago 0.0.1 | ESM + CommonJS | Bundled | Schema validation | |
| @readme/openapi-schemas JSON Schemas for every version of the OpenAPI Specification | 679.2k | - | - | - | 2 months ago 4.0.0 | ESM + CommonJS | Bundled | Documentation tooling, Schema validation |
| @swaggerexpert/cookie RFC 6265 compliant cookie parser, validator and serializer. | 649.1k | - | - | - | 1 year ago 2.0.2 | ESM + CommonJS | Bundled | Schema validation |
| @inversifyjs/prototype-utils Prototype related utils | 646.3k | - | - | - | 6 months ago 0.2.1 | ESM only | None | Node.js utilities, Schema validation |
| json-schema-to-typescript-lite Lite version of json-schema-to-typescript | 629.1k | +139% | - | 1 year ago 15.0.0 | ESM + CommonJS | Bundled | TypeScript tooling, Schema validation | |
| npm-user-validate User validations for npm | 574.9k | -15% | - | 4 months ago 5.0.0 | CommonJS | None | 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.
- @t3-oss/env-nextjs [](https://jsr.io/@t3-oss/env-core) [](https://jsr.io/@t3-oss/env-core) [ validator that uses code generation to be extremely fast.
- @mastra/schema-compatTool schema compatibility layer for Mastra.ai
- @json-render/coreJSON becomes real things. Define your catalog, register your components, let AI generate.
- express-validatorExpress middleware for the validator module.
- zod-openapiConvert Zod Schemas to OpenAPI v3.x documentation
- swagger-parserSwagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers
- hono-openapiOpenAPI schema generator for Hono
- json-schema-ref-parserParse, Resolve, and Dereference JSON Schema $ref pointers
- parse-semverParse, normalize and validate given semver shorthand (e.g. gulp@v3.8.10) to object.
- airbnb-prop-typesCustom React PropType validators that we use at Airbnb.
- tcomb-validationGeneral purpose validation library for JavaScript
- convictFeatureful configuration management library for Node.js (nested structure, schema validation, etc.)
- @metamask/superstructA simple and composable way to validate data in JavaScript (and TypeScript).
- @scalar/typeboxJson Schema Type Builder with Static Type Resolution for TypeScript
- exact-mirrorMirror exact value to TypeBox/OpenAPI model
- is-base64Predicate that returns true if base64 string.
- fastify-type-provider-zodZod Type Provider for Fastify@5
- graphql-query-complexityValidation rule for GraphQL query complexity analysis
- @readme/openapi-parserSwagger 2.0 and OpenAPI 3.x parser and validator for Node and browsers
- validate.jsDeclarative validations for JavaScript
- v8nDead simple fluent JavaScript validation library
- revalidatorA cross-browser / node.js validator powered by JSON Schema
- ts-json-schema-generatorGenerate JSON schema from your Typescript sources
- untruncate-jsonFix up the end of a partial JSON string to create valid JSON.
- @readme/openapi-schemasJSON Schemas for every version of the OpenAPI Specification
- @swaggerexpert/cookieRFC 6265 compliant cookie parser, validator and serializer.
- @inversifyjs/prototype-utilsPrototype related utils
- json-schema-to-typescript-liteLite version of json-schema-to-typescript
- npm-user-validateUser validations for npm
- 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