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
ai-assert-schema
Assert schemas for compatibility against your AI models
1.6k--7 days ago
2.0.1
ESM onlyBundledSchema validation
sysml-validate
Headless SysML v2 / KerML validator — parse, link, and diagnose model files from a terminal or a CI pipeline, with text, JSON, SARIF, and GitHub Actions output.
1.6k--7 days ago
0.44.0
ESM onlyNoneSchema validation
graphile
Swiss army knife for dealing with all things Graphile
1.6k+126%-2 months ago
5.1.0
CommonJSBundledCaching, Schema validation
jsv-fixed
A JavaScript implementation of a extendable, fully compliant JSON Schema validator.
1.6k+61%-5 years ago
4.0.2
CommonJSNoneSchema validation
@typespec/http-server-js
TypeSpec HTTP server code generator for JavaScript
1.6k---15 days ago
0.58.0-alpha.29
ESM onlyBundledHTTP servers and web frameworks, TypeScript tooling
swagger-spec-validator
Validate an OpenAPI/Swagger API specification using the swagger.io online validator.
1.6k-44%-3 months ago
6.0.0
CommonJSNoneDocumentation tooling, Schema validation
remark-validate-relative-links
Remark plugin to validate relative links
1.6k--8 months ago
1.0.1
ESM onlyBundledMarkdown, Schema validation
cypress-ajv-schema-validator
Lightweight Cypress plugin for API schema validation against plain JSON schemas, Swagger schema documents, or OpenAPI schema documents, leveraging the core-ajv-schema-validator powered by the Ajv JSON Schema Validator.
1.6k-75%-1 year ago
2.0.2
CommonJSBundledSchema validation
isval
Yet another value type validator.
1.6k+94%-10 years ago
0.1.3
CommonJSNoneSchema validation
@lokalise/frontend-http-client
Opinionated HTTP client for the frontend
1.5k---15 days ago
8.1.0
ESM onlyNoneSchema validation
amanda
JSON Schema validator
1.5k+5%-8 years ago
1.0.1
CommonJSNoneSchema validation
@onlineapps/cookbook-core
Core cookbook parsing and validation - lightweight foundation for workflow definitions
1.5k---8 days ago
6.0.0
CommonJSNoneSchema validation, Parsers and serialisers
bupkis
Uncommonly extensible assertions for the beautiful people
1.5k+202%-1 month ago
1.1.0
ESM + CommonJSBundledTesting, Schema validation
mongoose-beautiful-unique-validation
Plugin for Mongoose that turns duplicate errors into regular Mongoose validation errors
1.5k+7%--
7.1.1
CommonJSNoneSchema validation
json-schema-doc-ts
Generate documentation for JSON Schemas
1.5k-23%-1 year ago
2.0.0
ESM onlyNoneSchema validation, Parsers and serialisers
@zodyac/zod-mongoose
A library that allows you to generate mongoose schemas from zod objects.
1.5k---8 months ago
4.2.2
ESM + CommonJSBundledSchema validation, TypeScript tooling
singapore-nric
Generate & Validate Singapore NRIC (National Registration Identity Card) Numbers
1.5k-62%-2 years ago
2.0.0
ESM onlyBundledSchema validation
bro-framework
The No-BS Backend Framework for Node.js
1.5k--4 days ago
3.0.6
ESM + CommonJSBundledAuthentication and authorisation, WebSockets and realtime
recursive-llm-ts
TypeScript bridge for recursive-llm: Recursive Language Models for unbounded context processing with structured outputs
1.4k--5 months ago
5.2.10
ESM + CommonJSBundledSchema validation, TypeScript tooling
node-license-validator
Validate the licenses of your dependencies against a list
1.4k-75%-5 years ago
1.3.2
CommonJSNoneSchema validation, CLI tools and terminal utilities
define-options
Define valid properties for an options litteral, and return a function that can validate the options
1.4k-61%-12 years ago
0.1.3
CommonJSNoneSchema validation
@liskhq/lisk-validator
Validation library according to the Lisk protocol
1.4k---2 years ago
0.9.0
CommonJSBundledSchema validation, Blockchain and Web3
uncase
Wrapper of change-case to create case converter, validator and etc.
1.4k+26%-1 month ago
0.3.0
ESM onlyBundledSchema validation, Strings and text
@onlineapps/conn-orch-cookbook
Cookbook toolkit for all services - unified wrapper over core (parsing/validation), router and template helpers. Execution belongs to conn-orch-orchestrator; the cookbook-executor lane was removed.
1.4k---8 days ago
5.0.3
CommonJSNoneSchema validation
ajv-sanitizer
String sanitization with JSON-Schema using Ajv
1.4k-41%-4 years ago
1.2.1
CommonJSNoneSchema validation, Security
nope-validator
Fast and simple JS validator
1.4k-29%-3 months ago
1.2.2
ESM + CommonJSBundledSchema validation, Forms
cli-args-parser
Expressive CLI argument parser with schema validation
1.4k--8 months ago
1.0.6
ESM onlyBundledCLI tools and terminal utilities, Schema validation
is-kit
Zero-dependency TypeScript runtime validation toolkit for composable type guards and natural type narrowing.
1.4k+605%-6 days ago
1.14.3
ESM + CommonJSBundledSchema validation, TypeScript tooling
@cesium133/forgjs
forgJs is a javascript lightweight object validator.
1.4k---3 years ago
2.2.0
CommonJSBundledSchema validation
google-play-billing
Server side for (Node.js) solution to validate Google Play Purchases and Subscriptions
1.4k+8813%-2 years ago
1.0.1
CommonJSBundledSchema validation
kizunajs
Route declaration, validation, and the adapter API for Kizuna.js
1.4k--4 days ago
2.0.0-beta.2
ESM + CommonJSBundledSchema validation, TypeScript tooling
zod-compare
Compare two Zod schemas recursively.
1.3k+97%-3 months ago
3.2.0
ESM + CommonJSBundledTypeScript tooling, Schema validation
the
Lightweight schemas for everywhere, whenever.
1.3k+66%-9 years ago
1.0.2
CommonJSNoneSchema validation
@getevy/luhn-validation
A full TypeScript EAN, UPC, IMEI, EID, ISBN & card validation tool
1.3k---2 years ago
11.0.0
CommonJSBundledSchema validation
nhs-number-validator
Validate NHS numbers in various guises
1.3k-7%-1 year ago
1.1.2
CommonJSNoneSchema validation
json-gate
A friendly, fast JSON schema validator
1.3k-15%-9 years ago
0.8.23
CommonJSNoneSchema validation
schm
Composable, parseable and validatable schemas for JavaScript and Node.js
1.3k+135%-8 years ago
0.4.1
CommonJSNoneSchema validation
xml-xsd-engine
Zero-dependency XML parser, XSD parser, schema model and validation engine written in TypeScript
1.2k--4 months ago
1.7.3
ESM + CommonJSBundledTypeScript tooling, Parsers and serialisers
oembed-spec
Parser and helpers for the oEmbed specification — validate and normalize provider responses.
1.2k+32%-4 days ago
1.4.20
CommonJSBundledSchema validation
assert-fs-readfile-option
Test if value is valid for fs.readFile option
1.2k+20%-8 years ago
1.0.1
-NoneFiles and file systems, Testing
@telorun/analyzer
Telo Analyzer - Static manifest validator for Telo manifests.
1.2k---today
0.82.0
ESM onlyBundledSchema validation
check-types-mini
Validate options object
1.2k+21%-3 days ago
8.2.5
ESM onlyBundledSchema validation
orchid-orm-schema-to-zod
Orchid-ORM columns schema to Zod converter
1.2k-28%-26 days ago
1.2.10
ESM + CommonJSBundledORMs and query builders, Schema validation
@lion/validate-messages
A set of localized messages for default Validators
1.2k---4 years ago
0.10.1
ESM onlyBundledSchema validation
i18n-tag-schema
Generates a json schema for all i18n tagged template literals in your project
1.2k-24%-8 years ago
2.5.0
CommonJSBundledInternationalisation, Schema validation
@vibeorm/schema
Canonical schema IR, validation, dialect/capability types, and error codes for VibeORM v2
1.2k---7 days ago
2.4.0
ESM onlyBundledORMs and query builders, Schema validation
datevalidator
A very simple date validator for handling year, month, and day values. The package works as a node module as well as in a browser.
1.2k+22169%-11 years ago
2.0.0
CommonJSNoneDate and time, Schema validation
shelving
Toolkit for using data in JavaScript.
1.2k-31%-9 days ago
1.285.4
ESM onlyBundledORMs and query builders, State management
fastest-validator-decorators
Fastest validator decorators
1.2k+97%-4 months ago
2.2.1
ESM + CommonJSBundledSchema validation, TypeScript tooling
react-validation-mixin
Simple Validation Mixin for React.
1.2k+35%-10 years ago
5.4.0
CommonJSNoneSchema 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.

  • ai-assert-schemaAssert schemas for compatibility against your AI models
  • sysml-validateHeadless SysML v2 / KerML validator — parse, link, and diagnose model files from a terminal or a CI pipeline, with text, JSON, SARIF, and GitHub Actions output.
  • graphileSwiss army knife for dealing with all things Graphile
  • jsv-fixedA JavaScript implementation of a extendable, fully compliant JSON Schema validator.
  • @typespec/http-server-jsTypeSpec HTTP server code generator for JavaScript
  • swagger-spec-validatorValidate an OpenAPI/Swagger API specification using the swagger.io online validator.
  • remark-validate-relative-linksRemark plugin to validate relative links
  • cypress-ajv-schema-validatorLightweight Cypress plugin for API schema validation against plain JSON schemas, Swagger schema documents, or OpenAPI schema documents, leveraging the core-ajv-schema-validator powered by the Ajv JSON Schema Validator.
  • isvalYet another value type validator.
  • @lokalise/frontend-http-clientOpinionated HTTP client for the frontend
  • amandaJSON Schema validator
  • @onlineapps/cookbook-coreCore cookbook parsing and validation - lightweight foundation for workflow definitions
  • bupkisUncommonly extensible assertions for the beautiful people
  • mongoose-beautiful-unique-validationPlugin for Mongoose that turns duplicate errors into regular Mongoose validation errors
  • json-schema-doc-tsGenerate documentation for JSON Schemas
  • @zodyac/zod-mongooseA library that allows you to generate mongoose schemas from zod objects.
  • singapore-nricGenerate & Validate Singapore NRIC (National Registration Identity Card) Numbers
  • bro-frameworkThe No-BS Backend Framework for Node.js
  • recursive-llm-tsTypeScript bridge for recursive-llm: Recursive Language Models for unbounded context processing with structured outputs
  • node-license-validatorValidate the licenses of your dependencies against a list
  • define-optionsDefine valid properties for an options litteral, and return a function that can validate the options
  • @liskhq/lisk-validatorValidation library according to the Lisk protocol
  • uncaseWrapper of change-case to create case converter, validator and etc.
  • @onlineapps/conn-orch-cookbookCookbook toolkit for all services - unified wrapper over core (parsing/validation), router and template helpers. Execution belongs to conn-orch-orchestrator; the cookbook-executor lane was removed.
  • ajv-sanitizerString sanitization with JSON-Schema using Ajv
  • nope-validatorFast and simple JS validator
  • cli-args-parserExpressive CLI argument parser with schema validation
  • is-kitZero-dependency TypeScript runtime validation toolkit for composable type guards and natural type narrowing.
  • @cesium133/forgjsforgJs is a javascript lightweight object validator.
  • google-play-billingServer side for (Node.js) solution to validate Google Play Purchases and Subscriptions
  • kizunajsRoute declaration, validation, and the adapter API for Kizuna.js
  • zod-compareCompare two Zod schemas recursively.
  • theLightweight schemas for everywhere, whenever.
  • @getevy/luhn-validationA full TypeScript EAN, UPC, IMEI, EID, ISBN & card validation tool
  • nhs-number-validatorValidate NHS numbers in various guises
  • json-gateA friendly, fast JSON schema validator
  • schmComposable, parseable and validatable schemas for JavaScript and Node.js
  • xml-xsd-engineZero-dependency XML parser, XSD parser, schema model and validation engine written in TypeScript
  • oembed-specParser and helpers for the oEmbed specification — validate and normalize provider responses.
  • assert-fs-readfile-optionTest if value is valid for fs.readFile option
  • @telorun/analyzerTelo Analyzer - Static manifest validator for Telo manifests.
  • check-types-miniValidate options object
  • orchid-orm-schema-to-zodOrchid-ORM columns schema to Zod converter
  • @lion/validate-messagesA set of localized messages for default Validators
  • i18n-tag-schemaGenerates a json schema for all i18n tagged template literals in your project
  • @vibeorm/schemaCanonical schema IR, validation, dialect/capability types, and error codes for VibeORM v2
  • datevalidatorA very simple date validator for handling year, month, and day values. The package works as a node module as well as in a browser.
  • shelvingToolkit for using data in JavaScript.
  • fastest-validator-decoratorsFastest validator decorators
  • react-validation-mixinSimple Validation Mixin for React.