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
@speclynx/apidom-ns-json-schema-2019-09
JSON Schema 2019-09 namespace for ApiDOM.
20.5k---6 days ago
5.2.6
ESM + CommonJSBundledSchema validation, TypeScript tooling
zod-stream
A client for node or the browser to generate and consume streaming json
20.5k+67%-2 months ago
4.0.0
ESM + CommonJSBundledAI and machine learning, Schema validation
openapi-json-schema
Minimalistic OpenAPI 3 ⬌ JSON Schema (draft 7) conversion
20.4k+1%-3 years ago
2.0.0
ESM onlyBundledDocumentation tooling, Schema validation
normalize-pkg
Normalize values in package.json using the map-schema library.
20.1k-23%-6 years ago
0.5.0
CommonJSNoneParsers and serialisers, Schema validation
@cdklabs/cdk-validator-cfnguard
<!--BEGIN STABILITY BANNER-->
20k---1 month ago
0.0.62
CommonJSBundledSchema validation
@alcyone-labs/zod-to-json-schema
Converts Zod schemas to Json Schemas (Fork upgraded to Zod V4)
19.7k---1 year ago
4.0.10
ESM + CommonJSBundledSchema validation
ngx-indexed-db
Angular wrapper to IndexedDB database.
19.7k+26%-8 months ago
22.0.0
ESM + CommonJSBundledAngular, Schema validation
csv-file-validator
Validation of CSV file against user defined schema (returns back object with data and invalid messages)
19.6k+23%-1 year ago
2.2.0
CommonJSBundledParsers and serialisers, Schema validation
expand-pkg
Parse string values in package.json into objects.
19.3k-25%-8 years ago
0.1.9
CommonJSNoneSchema validation
up-fetch
Advanced fetch client builder for typescript.
19k+210%-24 days ago
2.6.1
ESM + CommonJSBundledSchema validation, HTTP clients
@gcornut/valibot-json-schema
> [!CAUTION] > This project is now deprecated as Valibot now has an official JSON schema converter in the [@valibot/to-json-schema](https://github.com/fabian-hiller/valibot/tree/main/packages/to-json-schema). > The command line interface is moved to the p
18.9k---2 years ago
0.42.0
ESM + CommonJSBundledSchema validation, CLI tools and terminal utilities
rdf-validate-datatype
Validate literal value of an RDF term based on its datatype.
18.4k+366%-1 year ago
0.2.2
ESM onlyBundledSchema validation
commons-validator-js
JavaScript port of Apache Commons Validator
18.4k-19%-1 year ago
1.0.1669
CommonJSBundledSchema validation
zod-fixture
Creating fixtures based on zod schemas
18.2k+110%-2 years ago
2.5.2
ESM + CommonJSBundledSchema validation
@clipboard-health/contract-core
Shared Zod schemas for Clipboard's contracts.
18k---2 days ago
4.5.8
ESM + CommonJSBundledSchema validation
react-router-typesafe-routes
Enhanced type safety via validation for all route params in React Router v7.
17.6k+67%-1 year ago
2.2.1
ESM + CommonJSBundledRouting, Schema validation
@roadiehq/backstage-entity-validator
Backstage entity validator
17.5k---5 months ago
0.7.0
CommonJSNoneSchema validation, Linting and formatting
option-validator
A simple option validator
17.4k+41%-6 years ago
2.0.6
CommonJSNoneSchema validation
validate.io-nonnegative-integer-array
Validates if a value is a nonnegative integer array.
17.2k+171%-11 years ago
1.0.1
CommonJSNoneSchema validation
json-schema-defaults
Generate JSON object from default values in JSON Schema
16.8k+34%-8 years ago
0.4.0
CommonJSNoneSchema validation
pgzod
Convert a database schema into a Zod schema
16.8k+708%-3 years ago
3.3.0
CommonJSBundledSchema validation
papr
MongoDB TypeScript-aware Models
16.8k+139%-1 month ago
17.1.1
ESM onlyBundledSchema validation, Database clients and drivers
zod-metadata
Extends Zod with metadata
16.7k-77%-1 year ago
1.1.2
CommonJSBundledSchema validation
express-joi-validation
validate express application inputs and parameters using joi
16.6k-6%-1 year ago
6.1.0
CommonJSBundledSchema validation, TypeScript tooling
@instructor-ai/instructor
structured outputs for llms
16.6k---1 year ago
1.7.0
ESM + CommonJSBundledSchema validation
ts.data.json
A JSON decoding library for Typescript
16.6k-51%-7 days ago
4.3.0
ESM + CommonJSBundledSchema validation, TypeScript tooling
dockerfile-language-service
A language service for Dockerfiles to enable the creation of feature-rich Dockerfile editors.
16.5k+81%--
0.16.1
CommonJSBundledRich text and code editors, Schema validation
core-types
Generic type declarations for e.g. TypeScript, GraphQL and JSON Schema
16.5k-26%-3 years ago
3.1.0
ESM onlyBundledTypeScript tooling, GraphQL
jsonjoy-builder
Visual JSON Schema editor for creating and manipulating JSON Schema definitions with an intuitive interface.
16.4k+2508%-3 months ago
1.0.4
ESM onlyBundledSchema validation, React
core-types-json-schema
core-types ⬌ JSON Schema conversion
16.2k-30%-3 years ago
2.2.0
ESM onlyBundledSchema validation, TypeScript tooling
@varlock/nextjs-integration
drop-in replacement for @next/env that uses varlock to load .env files with validation and extra security features
16k---24 days ago
1.2.2
CommonJSBundledConfiguration, Schema validation
core-types-suretype
core-types ⬌ SureType validator conversion
16k-28%-3 years ago
3.2.0
ESM onlyBundledTypeScript tooling, Schema validation
typeconv
Convert between JSON Schema, TypeScript, GraphQL and Open API
15.8k-27%-3 years ago
2.3.1
ESM onlyBundledTypeScript tooling, GraphQL
@bpmn-io/element-templates-validator
Validate element templates based on JSON Schema
15.8k---1 month ago
2.26.0
ESM + CommonJSNoneSchema validation
json-schema-cycles
Analyize recursive (cyclic) JSON Schema types
15.7k-24%-3 years ago
3.0.0
ESM onlyBundledSchema validation
jsen
JSON-Schema validator built for speed
15.6k-40%-9 years ago
0.6.6
CommonJSNoneSchema validation
@zod/mini
Zod Mini as a standalone package: the tree-shakable, functional variant of Zod
14.9k---11 days ago
4.6.5
ESM + CommonJSBundledTypeScript tooling, Schema validation
@typia/mcp
MCP (Model Context Protocol) integration for typia
14.8k---3 days ago
15.0.0
ESM + CommonJSBundledSchema validation
@adonisjs/validator
Validator for adonis framework
14.5k---2 years ago
13.0.2
ESM onlyBundledSchema validation
grunt-jsonlint
Validate JSON files from grunt.
14.4k+15%-2 years ago
3.0.0
CommonJSNoneSchema validation
openapi-examples-validator
Validates embedded examples in OpenAPI-JSONs
14.2k+86%-5 months ago
7.1.0
CommonJSBundledDocumentation tooling, Schema validation
gemini-zod
Gemini AI Schema to Zod Adapter
13.8k+100%-1 year ago
0.1.2
CommonJSBundledSchema validation
ajv-oai
OpenAPI's JsonSchema validator, Powered by Ajv
12.9k-20%-6 years ago
1.2.1
CommonJSBundledSchema validation, Documentation tooling
express-json-validator-middleware
An Express middleware to validate requests against JSON Schemas
12.8k-46%-5 months ago
4.0.0
CommonJSBundledSchema validation, HTTP servers and web frameworks
express-zod-api
A Typescript framework to help you get an API server up and running with I/O schema validation and custom middlewares in minutes.
12.8k+63%-3 days ago
29.8.1
ESM onlyBundledSchema validation, TypeScript tooling
joi-password-complexity
Joi validation for password complexity requirements.
12.3k+58%-3 years ago
5.2.0
ESM + CommonJSBundledSchema validation
cron-expression-validator
Validate cron expressions
11.5k+0%-5 years ago
1.0.20
CommonJSBundledDate and time, Schema validation
scenv-zod
Zod parser for scenv variables
11.4k--6 months ago
0.4.0
ESM + CommonJSBundledSchema validation
@authenio/xsd-schema-validator
A (XSD) schema validator for nodejs
11.3k---3 years ago
0.7.3
CommonJSNoneSchema validation
commitplease
Validates strings as commit messages
11.2k+16%-8 years ago
3.2.0
CommonJSNoneSchema 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.