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 |
|---|---|---|---|---|---|---|---|---|
| vega-schema-url-parser A parser to get the library and version from Vega and Vega-Lite schema URLs. | 545k | +210% | - | 1 year ago 3.0.2 | ESM + CommonJS | Bundled | Schema validation | |
| type-graphql Create GraphQL schema and resolvers with TypeScript, using classes and decorators! | 510.1k | +101% | - | 7 months ago 2.0.0-rc.3 | ESM + CommonJS | Bundled | GraphQL, TypeScript tooling | |
| json-schema-faker Generate valid JSON data from JSON Schema definitions | 494.4k | +58% | - | 1 month ago 0.6.3 | ESM only | Bundled | Schema validation | |
| envalid Validation for your environment variables | 493.3k | +56% | - | 3 months ago 8.2.0 | CommonJS | Bundled | Configuration, Schema validation | |
| swagger-schema-official Swagger JSON Schema | 483.6k | +21% | - | 10 years ago 2.0.0-bab6bed | - | None | Documentation tooling, Schema validation | |
| @sodaru/yup-to-json-schema Library to convert Yup to JSON Schema | 456.1k | - | - | - | 3 years ago 2.0.1 | CommonJS | Bundled | Schema validation |
| json-schema-library Customizable and hackable json-validator and json-schema utilities for traversal, data generation and validation | 443.9k | +191% | - | 2 months ago 11.6.2 | ESM + CommonJS | Bundled | Schema validation | |
| json-schema-migrate Migrate JSON-Schema to draft-06 | 438k | +70% | - | 5 years ago 2.0.0 | CommonJS | None | Schema validation | |
| is-valid-domain Validate domain name | 423.1k | +16% | - | 4 years ago 0.1.6 | CommonJS | Bundled | Schema validation, URLs and query strings | |
| sourcemap-validator Map all the things, check all the maps | 409.8k | +179% | - | 7 years ago 2.1.0 | - | None | Schema validation | |
| quicktype-core The quicktype engine as a library | 398.8k | +122% | - | 2 months ago 26.0.0 | ESM + CommonJS | Bundled | GraphQL, Schema validation | |
| env-schema Validate your env variables using Ajv with .env file support using Node.js built-in parseEnv | 382.7k | +71% | - | 1 month ago 8.0.0 | CommonJS | Bundled | Schema validation, Configuration | |
| ajv-cli Command line interface for Ajv JSON schema validator | 317.7k | +38% | - | 5 years ago 5.0.0 | - | None | Schema validation, CLI tools and terminal utilities | |
| express-joi-validations Express middleware to validate request (headers, params, query, body) using Joi | 300.9k | -78% | - | 2 years ago 0.1.0 | ESM + CommonJS | Bundled | HTTP servers and web frameworks, Schema validation | |
| json-dup-key-validator A json validator that has an option to check for duplicated keys | 298.9k | +24% | - | 5 years ago 1.0.3 | CommonJS | None | Schema validation | |
| cron-validator Validates cron expressions | 290k | +78% | - | 1 year ago 1.4.0 | CommonJS | Bundled | Date and time, Schema validation | |
| json-schema-deref-sync Simple Node.js JSON Schema dereferencer | 280k | -15% | - | 5 years ago 0.14.0 | CommonJS | None | Schema validation | |
| @vinejs/compiler Low level compiler for VineJS validator | 272.1k | - | - | - | 7 months ago 4.1.3 | ESM only | Bundled | Schema validation |
| @zodios/core Typescript API client with autocompletion and zod validations | 270.5k | - | - | - | 3 years ago 10.9.6 | ESM + CommonJS | Bundled | Schema validation, Documentation tooling |
| powerbi-models Contains JavaScript & TypeScript object models for Microsoft Power BI JavaScript SDK. For each model there is a TypeScript interface, and a validation function to ensure and object is valid. | 258.7k | +32% | - | 1 day ago 2.2.0 | CommonJS | Bundled | Schema validation | |
| @mintlify/validation Validates mint.json files | 251.9k | - | - | - | today 0.1.873 | ESM only | Bundled | Schema validation |
| @bcherny/json-schema-ref-parser Parse, Resolve, and Dereference JSON Schema $ref pointers | 247k | - | - | - | 3 years ago 10.0.5-fork | ESM + CommonJS | Bundled | Schema validation, Parsers and serialisers |
| node-llama-cpp Run AI models locally on your machine with node.js bindings for llama.cpp. Enforce a JSON schema on the model output on the generation level | 245.4k | +3592% | - | 12 days ago 3.21.1 | ESM only | Bundled | Schema validation | |
| @univerjs/data-validation Shared data validation models and rule services for Univer. | 239.3k | - | - | - | 1 day ago 1.0.2 | ESM + CommonJS | Bundled | PDF and documents, Schema validation |
| @stoplight/json-schema-ref-parser Parse, Resolve, and Dereference JSON Schema $ref pointers | 236.4k | - | - | - | 2 years ago 10.0.0 | CommonJS | Bundled | Schema validation |
| @univerjs/sheets-data-validation Sheet-specific data validation commands, services, and Facade APIs for Univer Sheets. | 236.1k | - | - | - | 1 day ago 1.0.2 | ESM + CommonJS | Bundled | PDF and documents, Schema validation |
| @octokit/graphql-schema GitHub's GraphQL Schema with validation. Automatically updated. | 232.6k | - | - | - | 10 months ago 15.26.1 | ESM only | Bundled | Schema validation, GraphQL |
| @univerjs/sheets-data-validation-ui Data validation UI for Univer Sheets. | 231k | - | - | - | 1 day ago 1.0.2 | ESM + CommonJS | Bundled | PDF and documents, Schema validation |
| cron-validate cron-validate is a cron-expression validator written in TypeScript. | 220.2k | +26% | - | 10 months ago 1.5.3 | CommonJS | Bundled | Schema validation, TypeScript tooling | |
| @asyncapi/openapi-schema-parser An AsyncAPI schema parser for OpenAPI 3.0.x and Swagger 2.x schemas. | 206.9k | - | - | - | 1 month ago 3.1.0 | ESM + CommonJS | Bundled | Documentation tooling, Parsers and serialisers |
| @stoplight/json-schema-merge-allof Simplify your schema by combining allOf into the root schema, safely. | 199.4k | - | - | - | 2 years ago 0.8.0 | CommonJS | None | Schema validation |
| @stoplight/json-schema-generator JSON schema generator based on draft-v4. | 194.8k | - | - | - | 4 years ago 1.0.2 | CommonJS | None | Schema validation |
| package-json-validator Tools to validate package.json files. | 192.3k | +51% | - | 1 month ago 1.6.1 | ESM only | Bundled | Schema validation | |
| @typeschema/core Universal adapter for schema validation | 189.7k | - | - | - | 2 years ago 0.14.0 | ESM + CommonJS | Bundled | Schema validation, TypeScript tooling |
| @typespec/compiler TypeSpec compiler and standard library | 188.4k | - | - | - | 15 days ago 1.16.0 | ESM only | Bundled | CLI tools and terminal utilities, Schema validation |
| @typeschema/class-validator Reusable adapter for class-validator classes | 188.3k | - | - | - | 1 year ago 0.3.0 | ESM + CommonJS | Bundled | Schema validation, TypeScript tooling |
| @asyncapi/protobuf-schema-parser An AsyncAPI schema parser for Protocol Buffers data types. | 187.4k | - | - | - | 1 month ago 3.9.0 | ESM + CommonJS | Bundled | Parsers and serialisers, Schema validation |
| runtypes Runtime validation for static types | 186.3k | -1% | - | 1 month ago 7.0.5 | ESM + CommonJS | Bundled | TypeScript tooling, Schema validation | |
| is-valid-hostname Validate hostname based on RFC-1123 | 180.1k | +456% | - | 5 years ago 1.0.2 | CommonJS | Bundled | Schema validation | |
| zod-v3-to-json-schema Converts Zod 3 schemas to Json Schemas | 176k | - | - | 10 months ago 4.0.0 | ESM + CommonJS | Bundled | Schema validation | |
| quicktype  | 172.7k | +168% | - | - 26.0.0 | CommonJS | Bundled | GraphQL, Schema validation | |
| json-schema-walker A system that visits all schema objects in a JSON Schema document and makes callbacks before visiting all of the current schema object's subschemas. | 169.7k | +0% | - | - 4.0.0 | CommonJS | Bundled | Schema validation | |
| idn-hostname An internationalized hostname validator as defined by RFC5890, RFC5891, RFC5892, RFC5893, RFC3492 and UTS#46 | 162.7k | +159048% | - | 10 days ago 17.0.4 | CommonJS | Bundled | Schema validation, Node.js utilities | |
| postcode-validator Validate postcodes based on country | 156.6k | +36% | - | 1 month ago 3.10.22 | ESM + CommonJS | Bundled | Schema validation | |
| to-json-schema Convert JS object to JSON Schema | 154k | +86% | - | 6 years ago 0.2.5 | CommonJS | None | Schema validation, Parsers and serialisers | |
| zod-fast-check Generate fast-check arbitraries from Zod schemas. | 152.2k | +458% | - | 3 years ago 0.10.1 | CommonJS | Bundled | Schema validation | |
| filepond-plugin-file-validate-type File Type Validation Plugin for FilePond | 151k | +71% | - | - 1.2.9 | ESM + CommonJS | Bundled | Schema validation, Files and file systems | |
| @scalar/json-schema-validator Validate documents against a JSON Schema with Ajv and human-friendly errors | 150.7k | - | - | - | 1 day ago 0.1.5 | ESM only | Bundled | Schema validation |
| @anatine/zod-mock Zod auto-mock object generator using Faker at @faker-js/faker | 147.9k | - | - | - | 1 year ago 3.14.0 | CommonJS | Bundled | Testing, Schema validation |
| @sanity/validation Document validation for Sanity schemas | 138.2k | - | - | - | 3 days ago 6.16.0 | ESM only | Bundled | Schema validation, React |
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.
- vega-schema-url-parserA parser to get the library and version from Vega and Vega-Lite schema URLs.
- type-graphqlCreate GraphQL schema and resolvers with TypeScript, using classes and decorators!
- json-schema-fakerGenerate valid JSON data from JSON Schema definitions
- envalidValidation for your environment variables
- swagger-schema-officialSwagger JSON Schema
- @sodaru/yup-to-json-schemaLibrary to convert Yup to JSON Schema
- json-schema-libraryCustomizable and hackable json-validator and json-schema utilities for traversal, data generation and validation
- json-schema-migrateMigrate JSON-Schema to draft-06
- is-valid-domainValidate domain name
- sourcemap-validatorMap all the things, check all the maps
- quicktype-coreThe quicktype engine as a library
- env-schemaValidate your env variables using Ajv with .env file support using Node.js built-in parseEnv
- ajv-cliCommand line interface for Ajv JSON schema validator
- express-joi-validationsExpress middleware to validate request (headers, params, query, body) using Joi
- json-dup-key-validatorA json validator that has an option to check for duplicated keys
- cron-validatorValidates cron expressions
- json-schema-deref-syncSimple Node.js JSON Schema dereferencer
- @vinejs/compilerLow level compiler for VineJS validator
- @zodios/coreTypescript API client with autocompletion and zod validations
- powerbi-modelsContains JavaScript & TypeScript object models for Microsoft Power BI JavaScript SDK. For each model there is a TypeScript interface, and a validation function to ensure and object is valid.
- @mintlify/validationValidates mint.json files
- @bcherny/json-schema-ref-parserParse, Resolve, and Dereference JSON Schema $ref pointers
- node-llama-cppRun AI models locally on your machine with node.js bindings for llama.cpp. Enforce a JSON schema on the model output on the generation level
- @univerjs/data-validationShared data validation models and rule services for Univer.
- @stoplight/json-schema-ref-parserParse, Resolve, and Dereference JSON Schema $ref pointers
- @univerjs/sheets-data-validationSheet-specific data validation commands, services, and Facade APIs for Univer Sheets.
- @octokit/graphql-schemaGitHub's GraphQL Schema with validation. Automatically updated.
- @univerjs/sheets-data-validation-uiData validation UI for Univer Sheets.
- cron-validatecron-validate is a cron-expression validator written in TypeScript.
- @asyncapi/openapi-schema-parserAn AsyncAPI schema parser for OpenAPI 3.0.x and Swagger 2.x schemas.
- @stoplight/json-schema-merge-allofSimplify your schema by combining allOf into the root schema, safely.
- @stoplight/json-schema-generatorJSON schema generator based on draft-v4.
- package-json-validatorTools to validate package.json files.
- @typeschema/coreUniversal adapter for schema validation
- @typespec/compilerTypeSpec compiler and standard library
- @typeschema/class-validatorReusable adapter for class-validator classes
- @asyncapi/protobuf-schema-parserAn AsyncAPI schema parser for Protocol Buffers data types.
- runtypesRuntime validation for static types
- is-valid-hostnameValidate hostname based on RFC-1123
- zod-v3-to-json-schemaConverts Zod 3 schemas to Json Schemas
- quicktype
- json-schema-walkerA system that visits all schema objects in a JSON Schema document and makes callbacks before visiting all of the current schema object's subschemas.
- idn-hostnameAn internationalized hostname validator as defined by RFC5890, RFC5891, RFC5892, RFC5893, RFC3492 and UTS#46
- postcode-validatorValidate postcodes based on country
- to-json-schemaConvert JS object to JSON Schema
- zod-fast-checkGenerate fast-check arbitraries from Zod schemas.
- filepond-plugin-file-validate-typeFile Type Validation Plugin for FilePond
- @scalar/json-schema-validatorValidate documents against a JSON Schema with Ajv and human-friendly errors
- @anatine/zod-mockZod auto-mock object generator using Faker at @faker-js/faker
- @sanity/validationDocument validation for Sanity schemas
- 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