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 |
|---|---|---|---|---|---|---|---|---|
| v8r A command-line JSON, YAML and TOML validator that's on your wavelength | 4.3k | +163% | - | 4 months ago 6.1.0 | ESM only | None | Schema validation, CLI tools and terminal utilities | |
| skemata An object structure and type validation library | 4.3k | +43% | - | 10 years ago 0.1.2 | CommonJS | None | Schema validation | |
| 12factor-env Environment variable validation for 12-factor apps | 4.2k | +76381% | - | 8 days ago 1.33.0 | ESM + CommonJS | Bundled | Configuration, Schema validation | |
| hemera-ajv This is a plugin to use Ajv (JSON-Schema) for request validation. | 4.2k | +66% | - | 6 years ago 1.0.2 | CommonJS | None | Schema validation | |
| livr Lightweight validator supporting Language Independent Validation Rules Specification | 4.2k | -16% | - | 8 months ago 2.10.2 | ESM + CommonJS | Bundled | Schema validation, Security | |
| @amritk/mjst Generate TypeScript parsers and type definitions from JSON Schemas. | 4.1k | - | - | - | 1 day ago 0.25.1 | ESM only | None | Schema validation, TypeScript tooling |
| personnummer.js JavaScript script to validate and parse Swedish personal identity numbers and corporate identity numbers. Written in TypeScript and includes types. | 4.1k | -35% | - | 4 years ago 3.0.0 | CommonJS | Bundled | TypeScript tooling, Schema validation | |
| nimn_schema_builder Build schema from JS object or JSON to feed into nimnjs | 4.1k | +7% | - | 8 years ago 2.0.0 | CommonJS | None | Schema validation, Parsers and serialisers | |
| @amritk/runtime-validators Extremely fast, eval-free runtime JSON Schema validation. Interprets a schema you do not know ahead of time — no new Function, no build step, runs anywhere. | 4.1k | - | - | - | 1 day ago 0.15.1 | ESM only | Bundled | Schema validation |
| @evomap/gep-sdk Single source of truth for the Genome Evolution Protocol (GEP): JSON Schemas, specification, and protocol-level helpers (canonicalize / computeAssetId / verifyAssetId). | 4.1k | - | - | - | 14 days ago 1.14.0 | ESM only | Bundled | Schema validation |
| json-schema-instantiator A simple instantiator for json schemas. | 4k | +21% | - | 1 year ago 1.0.1 | ESM + CommonJS | Bundled | Schema validation | |
| check-links Robustly checks an array of URLs for liveness. | 4k | +22% | - | - 3.0.1 | ESM only | Bundled | Schema validation | |
| bankdata-germany Data and BIC Validator for German Banks | 4k | +212% | - | 1 month ago 2.2602.0 | ESM + CommonJS | Bundled | Schema validation | |
| json-schema-test Testing JSON schemas against sample data | 4k | -45% | - | 8 years ago 2.0.0 | CommonJS | None | Schema validation | |
| is-valid-abn Check if a number is a valid Australian Business Number (ABN) | 4k | +26% | - | 1 year ago 2.0.0 | ESM only | Bundled | Schema validation | |
| aontu JSON-superset unification language and validation gate for AI-agent ground truth - evaluate, vet, diff, query, and evolution-check structured models. | 3.9k | +3289% | - | 1 day ago 0.76.0 | CommonJS | Bundled | Schema validation | |
| @amritk/api Framework-agnostic, contract-first API layer built on mjst JSON Schema tooling. Typed routes, fast request/response validation, and OpenAPI 3.2 generation with no extra code — adapters for fetch (Hono, Next.js, Bun, Workers) and Node (Express, Fastify). | 3.9k | - | - | - | 1 day ago 0.16.6 | ESM only | Bundled | Schema validation, Documentation tooling |
| attio-ts-sdk Type-safe TypeScript SDK for the Attio CRM API with Zod v4 runtime validation | 3.9k | - | - | 4 months ago 2.3.3 | ESM + CommonJS | Bundled | Schema validation, TypeScript tooling | |
| german-tax-id-validator Simple package to validate a german tax ID (Steuerindentifikationsnummer) | 3.9k | -32% | - | 2 years ago 1.0.7 | ESM + CommonJS | Bundled | Schema validation | |
| container-validator Cargo container validator ISO 6346 implemented in Javascript | 3.8k | -44% | - | - 1.1.0 | CommonJS | None | Schema validation | |
| @techery/zod-to-vertex-schema Convert Zod schemas to Vertex AI/Gemini compatible schemas | 3.7k | - | - | - | 1 year ago 0.1.4 | CommonJS | Bundled | Schema validation |
| interface-forge A TypeScript library for creating strongly typed mock data factories using Faker.js for test data generation | 3.7k | +93% | - | 3 months ago 2.7.0 | ESM + CommonJS | Bundled | Dev servers and API mocking, Testing | |
| zod-search-params Zod utility for parsing search params | 3.7k | +126% | - | 8 months ago 0.2.1 | ESM + CommonJS | Bundled | Schema validation, React | |
| @nesto-software/json-schema-ref-parser Parse, Resolve, and Dereference JSON Schema $ref pointers | 3.7k | - | - | - | 4 years ago 9.0.10 | CommonJS | Bundled | Schema validation, Parsers and serialisers |
| document-model Powerhouse document model — foundational data structure for local-first, event-sourced documents with typed operations, reducers, and GraphQL schema validation. | 3.6k | +81% | - | 15 days ago 6.2.2 | ESM only | Bundled | GraphQL, Schema validation | |
| zodown Write Zod v4 schemas, run them in Zod v3 environments | 3.6k | +1549% | - | 1 year ago 0.2.1 | ESM + CommonJS | Bundled | Schema validation | |
| shape An object shape validation utility. | 3.5k | +1157% | - | 21 days ago 11.4.1 | CommonJS | Bundled | Schema validation | |
| validate.io-boolean-primitive Validates if a value is a boolean primitive. | 3.5k | -18% | - | 11 years ago 1.0.0 | CommonJS | None | Schema validation | |
| io-ts-to-json-schema Understandable io-ts error reports. | 3.4k | +486% | - | 4 years ago 0.2.0 | ESM + CommonJS | Bundled | Schema validation | |
| @bahmutov/is-my-json-valid A JSONSchema validator that uses code generation to be extremely fast | 3.3k | - | - | - | 8 years ago 2.17.3 | CommonJS | None | Schema validation |
| luhn-validation A full TypeScript EAN, UPC, IMEI, EID, ISBN & card validation tool | 3.3k | +4895% | - | 3 years ago 1.0.3 | CommonJS | Bundled | Schema validation | |
| @pyramation/json-schema-to-typescript compile json schema to typescript typings | 3.3k | - | - | - | 4 years ago 11.0.4 | CommonJS | Bundled | Schema validation, TypeScript tooling |
| validate-polish Utility library for validation of PESEL, NIP, REGON, identity card etc. Aimed mostly at Polish environment. [Polish] Walidacja numerów pesel, nip, regon, dowodu osobistego. | 3.3k | +53% | - | 3 years ago 2.1.40 | ESM + CommonJS | Bundled | Schema validation, Utility libraries | |
| @wotnak/json-render-core JSON becomes real things. Define your catalog, register your components, let AI generate. | 3.3k | - | - | - | 7 months ago 0.0.0-pr.slots.9c5563f | ESM + CommonJS | Bundled | Schema validation |
| @pyramation/json-schema-ref-parser Parse, Resolve, and Dereference JSON Schema $ref pointers | 3.2k | - | - | - | 4 years ago 9.0.6 | CommonJS | Bundled | Schema validation, Parsers and serialisers |
| @anttiviljami/json-schema-ref-parser Parse, Resolve, and Dereference JSON Schema $ref pointers | 3.2k | - | - | - | 3 years ago 9.2.2 | CommonJS | Bundled | Schema validation, Parsers and serialisers |
| types-joi TypeScript definitions for joi (Object schema description language and validator for JavaScript objects) https://joi.dev/ | 3.2k | +18% | - | 5 years ago 2.1.0 | CommonJS | Bundled | TypeScript tooling, Schema validation | |
| node-ratify A rich and efficient node validation library for String, Number, Date and Javascript Objects | 3.1k | +47% | - | 9 years ago 1.1.32 | CommonJS | None | Schema validation | |
| google-play-billing-validator Server side for (Node.js) solution to validate Google Play Purchases and Subscriptions | 3.1k | -3% | - | 5 years ago 2.1.3 | CommonJS | Bundled | Schema validation, Node.js utilities | |
| zodvex Codec-first Zod v4 integration for Convex -- type-safe validation, encoding, DB wrapping, and codegen. | 3.1k | +2142% | - | 8 days ago 0.7.11 | ESM only | Bundled | Schema validation | |
| koa-better-error-handler A better error-handler for Lad and Koa. Makes `ctx.throw` awesome (best used with koa-404-handler) | 3.1k | +7% | - | 8 months ago 12.0.0 | CommonJS | None | HTTP servers and web frameworks, Payments and commerce | |
| rm-json-schema-to-typescript compile json schema to typescript typings. Fork from original json-schema-to-typescript with changed reference resolving. Will be deprecated when original repo accepts changes | 3.1k | +894% | - | 4 years ago 10.2.0 | CommonJS | Bundled | Schema validation, TypeScript tooling | |
| @gqloom/core Create GraphQL schema and resolvers with TypeScript. | 3k | - | - | - | 7 months ago 0.16.1 | ESM + CommonJS | Bundled | Schema validation, TypeScript tooling |
| api-check Validate the api to your functions to help people use them correctly. This is pretty much React's propTypes without React. | 3k | -34% | - | 10 years ago 7.5.5 | CommonJS | None | Schema validation | |
| optioner Process and validate options for your module. | 3k | -17% | - | 6 years ago 5.0.1 | CommonJS | None | Schema validation | |
| @objectstack/lint Static, build-time validation for an ObjectStack metadata graph — dashboard widget bindings, CEL/predicate expressions, and more. Pure (stack) => Issue[] functions shared by the CLI's `os validate` and any other consumer (e.g. AI authoring). Depends on @o | 3k | - | - | - | 16 days ago 17.4.0 | ESM + CommonJS | Bundled | Linting and formatting, Schema validation |
| @miyauci/isx Collection of validation functions for JavaScript data | 3k | - | - | - | 3 years ago 1.5.0 | ESM + CommonJS | None | Schema validation, Utility libraries |
| mongoose-validator Validators for mongoose models utilising validator.js | 3k | +24% | - | 8 years ago 2.1.0 | CommonJS | None | Schema validation, ORMs and query builders | |
| image-validator A small and simple utility package that can validate any kind of image. It can detect corrupt files, or invalid image urls | 3k | +66% | - | 4 years ago 1.2.1 | CommonJS | None | Schema validation, Image processing | |
| create-validator-ts Create JSON Schema validator from TypeScript. | 2.9k | +97% | - | 1 year ago 6.0.1 | ESM only | Bundled | Schema validation, TypeScript tooling |
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.
- v8rA command-line JSON, YAML and TOML validator that's on your wavelength
- skemataAn object structure and type validation library
- 12factor-envEnvironment variable validation for 12-factor apps
- hemera-ajvThis is a plugin to use Ajv (JSON-Schema) for request validation.
- livrLightweight validator supporting Language Independent Validation Rules Specification
- @amritk/mjstGenerate TypeScript parsers and type definitions from JSON Schemas.
- personnummer.jsJavaScript script to validate and parse Swedish personal identity numbers and corporate identity numbers. Written in TypeScript and includes types.
- nimn_schema_builderBuild schema from JS object or JSON to feed into nimnjs
- @amritk/runtime-validatorsExtremely fast, eval-free runtime JSON Schema validation. Interprets a schema you do not know ahead of time — no new Function, no build step, runs anywhere.
- @evomap/gep-sdkSingle source of truth for the Genome Evolution Protocol (GEP): JSON Schemas, specification, and protocol-level helpers (canonicalize / computeAssetId / verifyAssetId).
- json-schema-instantiatorA simple instantiator for json schemas.
- check-linksRobustly checks an array of URLs for liveness.
- bankdata-germanyData and BIC Validator for German Banks
- json-schema-testTesting JSON schemas against sample data
- is-valid-abnCheck if a number is a valid Australian Business Number (ABN)
- aontuJSON-superset unification language and validation gate for AI-agent ground truth - evaluate, vet, diff, query, and evolution-check structured models.
- @amritk/apiFramework-agnostic, contract-first API layer built on mjst JSON Schema tooling. Typed routes, fast request/response validation, and OpenAPI 3.2 generation with no extra code — adapters for fetch (Hono, Next.js, Bun, Workers) and Node (Express, Fastify).
- attio-ts-sdkType-safe TypeScript SDK for the Attio CRM API with Zod v4 runtime validation
- german-tax-id-validatorSimple package to validate a german tax ID (Steuerindentifikationsnummer)
- container-validatorCargo container validator ISO 6346 implemented in Javascript
- @techery/zod-to-vertex-schemaConvert Zod schemas to Vertex AI/Gemini compatible schemas
- interface-forgeA TypeScript library for creating strongly typed mock data factories using Faker.js for test data generation
- zod-search-paramsZod utility for parsing search params
- @nesto-software/json-schema-ref-parserParse, Resolve, and Dereference JSON Schema $ref pointers
- document-modelPowerhouse document model — foundational data structure for local-first, event-sourced documents with typed operations, reducers, and GraphQL schema validation.
- zodownWrite Zod v4 schemas, run them in Zod v3 environments
- shapeAn object shape validation utility.
- validate.io-boolean-primitiveValidates if a value is a boolean primitive.
- io-ts-to-json-schemaUnderstandable io-ts error reports.
- @bahmutov/is-my-json-validA JSONSchema validator that uses code generation to be extremely fast
- luhn-validationA full TypeScript EAN, UPC, IMEI, EID, ISBN & card validation tool
- @pyramation/json-schema-to-typescriptcompile json schema to typescript typings
- validate-polishUtility library for validation of PESEL, NIP, REGON, identity card etc. Aimed mostly at Polish environment. [Polish] Walidacja numerów pesel, nip, regon, dowodu osobistego.
- @wotnak/json-render-coreJSON becomes real things. Define your catalog, register your components, let AI generate.
- @pyramation/json-schema-ref-parserParse, Resolve, and Dereference JSON Schema $ref pointers
- @anttiviljami/json-schema-ref-parserParse, Resolve, and Dereference JSON Schema $ref pointers
- types-joiTypeScript definitions for joi (Object schema description language and validator for JavaScript objects) https://joi.dev/
- node-ratifyA rich and efficient node validation library for String, Number, Date and Javascript Objects
- google-play-billing-validatorServer side for (Node.js) solution to validate Google Play Purchases and Subscriptions
- zodvexCodec-first Zod v4 integration for Convex -- type-safe validation, encoding, DB wrapping, and codegen.
- koa-better-error-handlerA better error-handler for Lad and Koa. Makes `ctx.throw` awesome (best used with koa-404-handler)
- rm-json-schema-to-typescriptcompile json schema to typescript typings. Fork from original json-schema-to-typescript with changed reference resolving. Will be deprecated when original repo accepts changes
- @gqloom/coreCreate GraphQL schema and resolvers with TypeScript.
- api-checkValidate the api to your functions to help people use them correctly. This is pretty much React's propTypes without React.
- optionerProcess and validate options for your module.
- @objectstack/lintStatic, build-time validation for an ObjectStack metadata graph — dashboard widget bindings, CEL/predicate expressions, and more. Pure (stack) => Issue[] functions shared by the CLI's `os validate` and any other consumer (e.g. AI authoring). Depends on @o
- @miyauci/isxCollection of validation functions for JavaScript data
- mongoose-validatorValidators for mongoose models utilising validator.js
- image-validatorA small and simple utility package that can validate any kind of image. It can detect corrupt files, or invalid image urls
- create-validator-tsCreate JSON Schema validator from TypeScript.
- 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