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
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 + CommonJSBundledSchema 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 + CommonJSBundledGraphQL, TypeScript tooling
json-schema-faker
Generate valid JSON data from JSON Schema definitions
494.4k+58%-1 month ago
0.6.3
ESM onlyBundledSchema validation
envalid
Validation for your environment variables
493.3k+56%-3 months ago
8.2.0
CommonJSBundledConfiguration, Schema validation
swagger-schema-official
Swagger JSON Schema
483.6k+21%-10 years ago
2.0.0-bab6bed
-NoneDocumentation tooling, Schema validation
@sodaru/yup-to-json-schema
Library to convert Yup to JSON Schema
456.1k---3 years ago
2.0.1
CommonJSBundledSchema 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 + CommonJSBundledSchema validation
json-schema-migrate
Migrate JSON-Schema to draft-06
438k+70%-5 years ago
2.0.0
CommonJSNoneSchema validation
is-valid-domain
Validate domain name
423.1k+16%-4 years ago
0.1.6
CommonJSBundledSchema validation, URLs and query strings
sourcemap-validator
Map all the things, check all the maps
409.8k+179%-7 years ago
2.1.0
-NoneSchema validation
quicktype-core
The quicktype engine as a library
398.8k+122%-2 months ago
26.0.0
ESM + CommonJSBundledGraphQL, 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
CommonJSBundledSchema validation, Configuration
ajv-cli
Command line interface for Ajv JSON schema validator
317.7k+38%-5 years ago
5.0.0
-NoneSchema 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 + CommonJSBundledHTTP 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
CommonJSNoneSchema validation
cron-validator
Validates cron expressions
290k+78%-1 year ago
1.4.0
CommonJSBundledDate and time, Schema validation
json-schema-deref-sync
Simple Node.js JSON Schema dereferencer
280k-15%-5 years ago
0.14.0
CommonJSNoneSchema validation
@vinejs/compiler
Low level compiler for VineJS validator
272.1k---7 months ago
4.1.3
ESM onlyBundledSchema validation
@zodios/core
Typescript API client with autocompletion and zod validations
270.5k---3 years ago
10.9.6
ESM + CommonJSBundledSchema 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
CommonJSBundledSchema validation
@mintlify/validation
Validates mint.json files
251.9k---today
0.1.873
ESM onlyBundledSchema validation
@bcherny/json-schema-ref-parser
Parse, Resolve, and Dereference JSON Schema $ref pointers
247k---3 years ago
10.0.5-fork
ESM + CommonJSBundledSchema 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 onlyBundledSchema validation
@univerjs/data-validation
Shared data validation models and rule services for Univer.
239.3k---1 day ago
1.0.2
ESM + CommonJSBundledPDF 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
CommonJSBundledSchema 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 + CommonJSBundledPDF and documents, Schema validation
@octokit/graphql-schema
GitHub's GraphQL Schema with validation. Automatically updated.
232.6k---10 months ago
15.26.1
ESM onlyBundledSchema validation, GraphQL
@univerjs/sheets-data-validation-ui
Data validation UI for Univer Sheets.
231k---1 day ago
1.0.2
ESM + CommonJSBundledPDF 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
CommonJSBundledSchema 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 + CommonJSBundledDocumentation 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
CommonJSNoneSchema validation
@stoplight/json-schema-generator
JSON schema generator based on draft-v4.
194.8k---4 years ago
1.0.2
CommonJSNoneSchema validation
package-json-validator
Tools to validate package.json files.
192.3k+51%-1 month ago
1.6.1
ESM onlyBundledSchema validation
@typeschema/core
Universal adapter for schema validation
189.7k---2 years ago
0.14.0
ESM + CommonJSBundledSchema validation, TypeScript tooling
@typespec/compiler
TypeSpec compiler and standard library
188.4k---15 days ago
1.16.0
ESM onlyBundledCLI tools and terminal utilities, Schema validation
@typeschema/class-validator
Reusable adapter for class-validator classes
188.3k---1 year ago
0.3.0
ESM + CommonJSBundledSchema 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 + CommonJSBundledParsers and serialisers, Schema validation
runtypes
Runtime validation for static types
186.3k-1%-1 month ago
7.0.5
ESM + CommonJSBundledTypeScript tooling, Schema validation
is-valid-hostname
Validate hostname based on RFC-1123
180.1k+456%-5 years ago
1.0.2
CommonJSBundledSchema validation
zod-v3-to-json-schema
Converts Zod 3 schemas to Json Schemas
176k--10 months ago
4.0.0
ESM + CommonJSBundledSchema validation
quicktype
![](https://raw.githubusercontent.com/quicktype/quicktype/master/media/quicktype-logo.svg?sanitize=true)
172.7k+168%--
26.0.0
CommonJSBundledGraphQL, 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
CommonJSBundledSchema 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
CommonJSBundledSchema validation, Node.js utilities
postcode-validator
Validate postcodes based on country
156.6k+36%-1 month ago
3.10.22
ESM + CommonJSBundledSchema validation
to-json-schema
Convert JS object to JSON Schema
154k+86%-6 years ago
0.2.5
CommonJSNoneSchema validation, Parsers and serialisers
zod-fast-check
Generate fast-check arbitraries from Zod schemas.
152.2k+458%-3 years ago
0.10.1
CommonJSBundledSchema validation
filepond-plugin-file-validate-type
File Type Validation Plugin for FilePond
151k+71%--
1.2.9
ESM + CommonJSBundledSchema 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 onlyBundledSchema validation
@anatine/zod-mock
Zod auto-mock object generator using Faker at @faker-js/faker
147.9k---1 year ago
3.14.0
CommonJSBundledTesting, Schema validation
@sanity/validation
Document validation for Sanity schemas
138.2k---3 days ago
6.16.0
ESM onlyBundledSchema 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.