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
@optique/zod
Zod value parsers for Optique
6.8k---10 days ago
1.3.0
ESM + CommonJSBundledCLI tools and terminal utilities, Schema validation
ajv-dist
Another JSON Schema Validator: browser bundles
6.7k-15%-2 years ago
8.17.1
CommonJSNoneSchema validation
aurelia-validation
Validation for Aurelia applications
6.6k-1%-3 years ago
2.0.0
ESM + CommonJSBundledSchema validation
commit-message-validator
Git commit-msg hook validator
6.4k-41%-5 years ago
1.0.2
CommonJSNoneSchema validation
web-app-manifest-validator
Web app manifest validator
6.4k+196%-5 years ago
1.1.0
CommonJSNoneSchema validation
trello.js
Type-safe Trello REST API client for TypeScript and JavaScript. ESM-only, tree-shakable, runtime-validated by Zod 4. Full coverage of boards, cards, lists, checklists, members, webhooks, organizations. Atlassian Trello SDK for Node.js 22+ and modern brows
6.3k+322%-1 month ago
2.2.0
ESM onlyBundledSchema validation, TypeScript tooling
indicative
Concise data validation library for Node.js and browsers
6.2k-23%-6 years ago
7.4.4
CommonJSNoneSchema validation
json-editor
JSON Schema based editor
6.2k+43%-10 years ago
0.7.28
CommonJSNoneSchema validation
validate.io-object
Validates if a value is a JavaScript object.
6.1k-32%-11 years ago
1.0.4
CommonJSNoneSchema validation
sanity-plugin-fieldwork
Inspect your Sanity.io schema fields straight in your Studio using this tool
6.1k+54476%-2 years ago
2.0.0
ESM + CommonJSBundledSchema validation
is-var-name
Check if a string can be used as a JavaScript variable name
6k+7%-8 years ago
2.0.0
ESM + CommonJSNoneSchema validation
@inixiative/prisma-map
Extracts a complete model map (fields, relations, FK info) from a Prisma generated client — supports v6 (schema.prisma) and v7 (runtimeDataModel)
6k---24 days ago
0.2.0
ESM + CommonJSBundledORMs and query builders, TypeScript tooling
@valibot/i18n
The official i18n translations for Valibot
6k---11 days ago
1.3.0
ESM + CommonJSBundledInternationalisation, Schema validation
host-validation
Node.js middleware to validate Host and Referer headers in HTTP requests and protect against DNS rebinding attacks.
5.9k-32%-7 years ago
2.0.1
CommonJSNoneSchema validation, HTTP servers and web frameworks
core-ajv-schema-validator
Lightweight package for API testing to validate API responses against plain JSON schemas, Swagger documents, or OpenAPI documents using the Ajv JSON Schema validator. It can be used directly in any project, but also serves as the core engine for schema va
5.9k+45%-1 year ago
1.0.0
CommonJSBundledSchema validation
assertic
Assertions and Validations for TypeScript
5.8k-55%-1 year ago
1.3.0
ESM + CommonJSBundledSchema validation
llmverify
AI Output Verification Toolkit — Local-first LLM safety, hallucination risk signals, PII redaction, prompt injection defense, and runtime monitoring. Zero telemetry. OWASP LLM Top 10 aligned.
5.8k--1 month ago
1.6.1
ESM + CommonJSBundledSchema validation
@scalar/asyncapi-validator
Validate AsyncAPI documents against the AsyncAPI Specification
5.8k---1 day ago
0.1.5
ESM onlyBundledDocumentation tooling, Schema validation
lintspaces
Library for checking spaces in files
5.8k-18%-5 days ago
3.0.0
CommonJSNoneSchema validation, Linting and formatting
@express-zod-api/zod-plugin
Zod plugin for express-zod-api
5.7k---1 month ago
6.0.1
ESM onlyBundledSchema validation, TypeScript tooling
office-addin-validator
Tool to help validate Microsoft Office Add-in manifest files.
5.7k+22%-9 years ago
1.0.5
CommonJSNoneSchema validation
png-validator
Png validator checks Png files for corruption
5.7k+116%-2 years ago
2.0.0
ESM onlyBundledSchema validation
@ws-kit/zod
Zod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference
5.6k---8 months ago
0.10.2
ESM onlyBundledSchema validation, WebSockets and realtime
squid
Provides SQL tagged template strings and a schema definition function.
5.4k+354%-5 years ago
0.5.2
CommonJSBundledSchema validation, ORMs and query builders
@hilbras/sdk
Provider-agnostic LLM client SDK — streaming, tool calling, embeddings, image generation, speech synthesis, transcription, reranking, circuit breaker, retry, reasoning normalization, cost enforcement, structured output with schema validation, type-safe to
5.4k---1 day ago
3.2.0
ESM onlyBundledTypeScript tooling, Cloud SDKs
@se-oss/is
Elegant and type-safe value validation library for TypeScript and JavaScript.
5.3k---8 months ago
1.0.0
ESM onlyBundledSchema validation
graphql-schema-diff
Returns the diff of two GraphQL schemas. Detects dangerous and breaking changes.
5.2k+13%-2 years ago
3.0.0
ESM + CommonJSBundledGraphQL, Schema validation
br-validations
A library of validations applicable to several Brazilian data like I.E., CNPJ, CPF and others
5.2k-27%-9 years ago
0.3.1
CommonJSNoneSchema validation
enjoi
Converts json-schema to Joi schema.
5.1k-58%-2 days ago
9.0.2
CommonJSNoneSchema validation
tin-validator
Taxpayer Identification Number validator and masker
5k-44%-10 days ago
3.0.0
CommonJSNoneSchema validation
ssn
Validate and generate fake SSN
5k+172%-9 years ago
1.0.3
CommonJSNoneSchema validation
@stacksjs/validation
The Stacks Validation ways.
5k---today
0.74.68
ESM onlyBundledSchema validation, TypeScript tooling
zod-request
Validated and Type-safe HTTP requests using Zod
5k+115%-3 months ago
1.0.2
ESM + CommonJSBundledHTTP clients, Schema validation
max-validator
Advanced validation library for Javascript & Reactjs
5k+1572%-5 years ago
1.2.1
ESM + CommonJSNoneSchema validation, React
@zodios/react
React hooks for zodios
5k---3 years ago
10.4.5
ESM + CommonJSBundledSchema validation, React
jsonlint-webpack
Validate JSON,fixed the error in jsonlint while use webpack
4.9k+171%--
1.1.0
CommonJSNoneSchema validation
egg-validate
validate plugin for egg
4.8k-16%-7 years ago
2.0.2
-NoneSchema validation
itin-validator
Individual Taxpayer Identification Number validator and masker
4.8k-70%-10 years ago
1.0.0
CommonJSNoneSchema validation
envin
Type-safe env validation with live previews
4.8k+854%-8 days ago
1.3.0
ESM onlyBundledSchema validation
joi-tz
Timezone string validation for Joi 16.x or higher.
4.8k+245%-16 days ago
5.1.0
CommonJSBundledDate and time, Schema validation
knex-types
Generates TypeScript definitions (types) from a (PostgreSQL) database schema.
4.7k+42%-3 years ago
0.5.0
CommonJSBundledDatabase clients and drivers, TypeScript tooling
npi-checksum
Fast, dependency-free NPI (National Provider Identifier) Luhn checksum validator for Node.js and TypeScript.
4.7k--11 days ago
1.2.0
ESM + CommonJSBundledTypeScript tooling, Schema validation
envase
Type-safe environment variable validation with Standard Schema compliance
4.7k+1629%-4 months ago
1.5.0
ESM onlyNoneSchema validation
openapi-ts-router
Typed Express and Hono route helpers backed by OpenAPI paths and Standard Schema validation
4.7k+45%-2 months ago
0.4.1
ESM + CommonJSBundledSchema validation, HTTP servers and web frameworks
bank-routing-number-validator
Validates ABA Routing Numbers
4.6k+10%-9 years ago
0.0.4
CommonJSNoneRouting, Schema validation
@ui-schema/ds-material
Material-UI Binding for UI-Schema
4.6k---1 year ago
0.4.3
ESM + CommonJSNoneSchema validation, React
pouchdb-validation
A PouchDB plug-in that allows you to re-use your CouchDB validate_doc_update functions on the client side.
4.4k+61%-6 years ago
4.2.0
CommonJSNoneSchema validation
@aws-lambda-powertools/validation
An utility to validate events and responses using JSON Schemas
4.4k---1 month ago
2.35.0
ESM + CommonJSBundledCloud SDKs, Schema validation
@exodus/zod
TypeScript-first schema declaration and validation library with static type inference
4.4k---4 months ago
3.24.4
ESM + CommonJSBundledSchema validation, TypeScript tooling
is-valid-http-url
Check whether a string is a valid HTTP URL
4.3k-31%-7 years ago
1.0.3
CommonJSNoneURLs and query strings, 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.

  • @optique/zodZod value parsers for Optique
  • ajv-distAnother JSON Schema Validator: browser bundles
  • aurelia-validationValidation for Aurelia applications
  • commit-message-validatorGit commit-msg hook validator
  • web-app-manifest-validatorWeb app manifest validator
  • trello.jsType-safe Trello REST API client for TypeScript and JavaScript. ESM-only, tree-shakable, runtime-validated by Zod 4. Full coverage of boards, cards, lists, checklists, members, webhooks, organizations. Atlassian Trello SDK for Node.js 22+ and modern brows
  • indicativeConcise data validation library for Node.js and browsers
  • json-editorJSON Schema based editor
  • validate.io-objectValidates if a value is a JavaScript object.
  • sanity-plugin-fieldworkInspect your Sanity.io schema fields straight in your Studio using this tool
  • is-var-nameCheck if a string can be used as a JavaScript variable name
  • @inixiative/prisma-mapExtracts a complete model map (fields, relations, FK info) from a Prisma generated client — supports v6 (schema.prisma) and v7 (runtimeDataModel)
  • @valibot/i18nThe official i18n translations for Valibot
  • host-validationNode.js middleware to validate Host and Referer headers in HTTP requests and protect against DNS rebinding attacks.
  • core-ajv-schema-validatorLightweight package for API testing to validate API responses against plain JSON schemas, Swagger documents, or OpenAPI documents using the Ajv JSON Schema validator. It can be used directly in any project, but also serves as the core engine for schema va
  • asserticAssertions and Validations for TypeScript
  • llmverifyAI Output Verification Toolkit — Local-first LLM safety, hallucination risk signals, PII redaction, prompt injection defense, and runtime monitoring. Zero telemetry. OWASP LLM Top 10 aligned.
  • @scalar/asyncapi-validatorValidate AsyncAPI documents against the AsyncAPI Specification
  • lintspacesLibrary for checking spaces in files
  • @express-zod-api/zod-pluginZod plugin for express-zod-api
  • office-addin-validatorTool to help validate Microsoft Office Add-in manifest files.
  • png-validatorPng validator checks Png files for corruption
  • @ws-kit/zodZod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference
  • squidProvides SQL tagged template strings and a schema definition function.
  • @hilbras/sdkProvider-agnostic LLM client SDK — streaming, tool calling, embeddings, image generation, speech synthesis, transcription, reranking, circuit breaker, retry, reasoning normalization, cost enforcement, structured output with schema validation, type-safe to
  • @se-oss/isElegant and type-safe value validation library for TypeScript and JavaScript.
  • graphql-schema-diffReturns the diff of two GraphQL schemas. Detects dangerous and breaking changes.
  • br-validationsA library of validations applicable to several Brazilian data like I.E., CNPJ, CPF and others
  • enjoiConverts json-schema to Joi schema.
  • tin-validatorTaxpayer Identification Number validator and masker
  • ssnValidate and generate fake SSN
  • @stacksjs/validationThe Stacks Validation ways.
  • zod-requestValidated and Type-safe HTTP requests using Zod
  • max-validatorAdvanced validation library for Javascript & Reactjs
  • @zodios/reactReact hooks for zodios
  • jsonlint-webpackValidate JSON,fixed the error in jsonlint while use webpack
  • egg-validatevalidate plugin for egg
  • itin-validatorIndividual Taxpayer Identification Number validator and masker
  • envinType-safe env validation with live previews
  • joi-tzTimezone string validation for Joi 16.x or higher.
  • knex-typesGenerates TypeScript definitions (types) from a (PostgreSQL) database schema.
  • npi-checksumFast, dependency-free NPI (National Provider Identifier) Luhn checksum validator for Node.js and TypeScript.
  • envaseType-safe environment variable validation with Standard Schema compliance
  • openapi-ts-routerTyped Express and Hono route helpers backed by OpenAPI paths and Standard Schema validation
  • bank-routing-number-validatorValidates ABA Routing Numbers
  • @ui-schema/ds-materialMaterial-UI Binding for UI-Schema
  • pouchdb-validationA PouchDB plug-in that allows you to re-use your CouchDB validate_doc_update functions on the client side.
  • @aws-lambda-powertools/validationAn utility to validate events and responses using JSON Schemas
  • @exodus/zodTypeScript-first schema declaration and validation library with static type inference
  • is-valid-http-urlCheck whether a string is a valid HTTP URL