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 |
|---|---|---|---|---|---|---|---|---|
| znv Parse your environment with Zod schemas | 60.4k | +29% | - | 1 year ago 0.5.0 | ESM + CommonJS | Bundled | Schema validation, Node.js utilities | |
| @n8n/json-schema-to-zod Converts JSON schema objects into Zod schemas | 59.9k | - | - | - | 10 days ago 1.16.0 | ESM + CommonJS | Bundled | Schema validation, CLI tools and terminal utilities |
| @accordproject/concerto-vocabulary Associate human-readable text to model declarations | 58.5k | - | - | - | 17 days ago 5.0.0 | ESM + CommonJS | Bundled | TypeScript tooling, Blockchain and Web3 |
| chai-json-schema Chai plugin for JSON Schema v4 | 58.3k | -66% | - | 2 months ago 2.0.1 | CommonJS | None | Schema validation, Testing | |
| genson-js JSON schema generator with a possibility to merge schemas | 57.3k | +82% | - | 4 years ago 0.0.8 | CommonJS | Bundled | Schema validation | |
| xsd-schema-validator A (XSD) schema validator for nodejs | 56.4k | +211% | - | 1 year ago 0.11.0 | CommonJS | Bundled | Schema validation | |
| protodef-validator Validate ProtoDef protocol definition in node | 54.5k | +240% | - | 29 days ago 1.5.0 | CommonJS | None | Schema validation | |
| har-validator-compiled Validate a HAR file using a compiled AJV schema validator | 54.4k | +1266% | - | 4 years ago 1.0.0 | ESM + CommonJS | Bundled | Schema validation | |
| jest-json-schema JSON schema matcher for jest | 54.1k | +15% | - | 4 years ago 6.1.0 | CommonJS | None | Schema validation, Testing | |
| fastify-zod-openapi Fastify plugin for zod-openapi | 54.1k | +106% | - | 2 months ago 5.7.0 | ESM + CommonJS | Bundled | Documentation tooling, TypeScript tooling | |
| rxdb A local-first realtime NoSQL Database for JavaScript applications - https://rxdb.info/ | 53.5k | +8% | - | 1 month ago 17.5.0 | ESM + CommonJS | Bundled | WebSockets and realtime, Schema validation | |
| @criteria/json-pointer Implementation of JSON Pointer (RFC 6901). | 52.9k | - | - | - | 2 years ago 0.2.1 | CommonJS | Bundled | Documentation tooling, Schema validation |
| @criteria/json-schema TypeScript implementation of the JSON Schema specification. | 52.9k | - | - | - | 2 years ago 0.10.0 | CommonJS | Bundled | Schema validation |
| @criteria/json-schema-validation Validate JSON instances using JSON Schema. | 52.8k | - | - | - | 2 years ago 0.10.0 | CommonJS | Bundled | Schema validation |
| @middy/validator Validator middleware for the middy framework | 52.3k | - | - | - | 28 days ago 7.9.2 | ESM only | Bundled | Cloud SDKs, Schema validation |
| checkit Simple validations for node and the browser. | 52.1k | -61% | - | 10 years ago 0.7.0 | CommonJS | None | Schema validation | |
| pure-parse Strongly typed validation library that decouples type aliases from validation logic | 52k | +2064% | - | 3 months ago 1.0.3 | ESM + CommonJS | Bundled | TypeScript tooling, Schema validation | |
| as-typed Static TypeScript types from a literal JSONSchema type | 50.9k | +16% | - | 4 years ago 1.3.2 | - | Bundled | Schema validation, TypeScript tooling | |
| @secretlint/config-validator .secretlintrc config validation library | 50.2k | - | - | - | 4 years ago 4.2.0 | CommonJS | Bundled | Schema validation, Node.js utilities |
| remark-lint-frontmatter-schema Validate Markdown frontmatter YAML against an associated JSON schema — remark-lint rule plugin | 50.1k | -23% | - | 2 years ago 3.15.4 | ESM only | Bundled | Schema validation, Markdown | |
| validate.io-nonnegative-integer Validates if a value is a nonnegative integer. | 49k | +45% | - | 11 years ago 1.0.0 | CommonJS | None | Schema validation | |
| jsonschema-key-compression Compress json-data based on its json-schema | 48.9k | +13% | - | 2 years ago 1.7.0 | ESM + CommonJS | Bundled | Compression and archives, Schema validation | |
| b-validate Javascript type validate | 48.7k | +202% | - | 3 years ago 1.5.3 | ESM + CommonJS | Bundled | Schema validation | |
| jgexml The Just-Good-Enough XML Toolkit | 48.2k | +19% | - | 6 years ago 0.4.4 | CommonJS | None | Parsers and serialisers, Schema validation | |
| express-validation express-validation is a middleware that validates a request and returns a response with errors; if any of the configured validation rules fail. | 47.9k | -17% | - | 2 years ago 4.1.1 | CommonJS | Bundled | Schema validation, HTTP servers and web frameworks | |
| validatorjs Validation library inspired by Laravel's Validator | 47.3k | +10% | - | 5 years ago 3.22.1 | CommonJS | None | Schema validation | |
| @korzio/djv-draft-04 JSON-Schema draft-04 plugin for djv package | 47.1k | - | - | - | 8 years ago 2.0.1 | CommonJS | None | Schema validation |
| djv dynamic json-schema validator | 46.2k | -11% | - | 5 years ago 2.1.4 | CommonJS | None | Schema validation | |
| ein-validator Employer Identification Number validator and masker | 45.7k | +126% | - | 5 years ago 1.0.1 | CommonJS | None | Schema validation | |
| find-duplicated-property-keys A package for detecting all duplicated property keys of a JSON string. | 45.6k | +67% | - | 3 years ago 1.2.9 | CommonJS | None | Schema validation | |
| schema-stream Progressively parse streamed JSON into typed, schema-shaped snapshots | 45.4k | +205% | - | 2 months ago 4.2.0 | ESM + CommonJS | Bundled | Schema validation, Node.js utilities | |
| openapi-request-validator Validate request properties against an OpenAPI spec. | 44k | -16% | - | 3 years ago 12.1.3 | CommonJS | Bundled | Documentation tooling, Schema validation | |
| @inngest/middleware-validation Schema validation middleware for Inngest. | 43.1k | - | - | - | 11 months ago 0.0.5 | ESM + CommonJS | Bundled | Schema validation, Queues and background jobs |
| @varlock/vite-integration Vite plugin to use varlock for .env file loading - adds validation, type-safety, and extra security features | 42.6k | - | - | - | 13 days ago 1.5.2 | ESM only | Bundled | Configuration, Schema validation |
| @indexeddb-orm/idb-orm TypeScript ORM wrapper for indexeddb with Zod runtime validation, build on top of dexie.js | 41.9k | - | - | - | 25 days ago 0.0.4 | ESM + CommonJS | Bundled | Schema validation, ORMs and query builders |
| @jackchuka/mdschema A declarative schema-based Markdown documentation validator | 40.9k | - | - | - | 8 days ago 0.15.4 | - | None | Schema validation, Parsers and serialisers |
| anchor High-level validation library for Node.js (used in Waterline) | 40.2k | +5% | - | 10 months ago 1.4.2 | CommonJS | None | Schema validation, HTTP servers and web frameworks | |
| jquery-validation-unobtrusive Add-on to jQuery Validation to enable unobtrusive validation options in data-* attributes. | 39.8k | +31% | - | 4 years ago 4.0.0 | CommonJS | None | Schema validation | |
| ajv-merge-patch $merge and $patch keywords for Ajv JSON-Schema validator to extend schemas | 39.8k | -0% | - | 5 years ago 5.0.1 | CommonJS | None | Schema validation | |
| @pothos/plugin-validation A Pothos plugin for adding schema based validation | 39.7k | - | - | - | 11 days ago 4.3.4 | ESM + CommonJS | Bundled | GraphQL, TypeScript tooling |
| graphql-constraint-directive Validate GraphQL fields | 38.7k | +33% | - | 1 year ago 6.0.0 | CommonJS | Bundled | Schema validation, GraphQL | |
| json-schema-compatibility JSON Schema tools are now being written for v4 of the draft, but v3 schemas still exist out in the wild. | 38.1k | +19% | - | 11 years ago 1.1.0 | CommonJS | None | Schema validation | |
| drizzle-typebox Generate Typebox schemas from Drizzle ORM schemas | 37.6k | +103% | - | 1 year ago 0.3.3 | ESM + CommonJS | Bundled | ORMs and query builders, Schema validation | |
| mongoose-unique-validator mongoose-unique-validator is a plugin which adds pre-save validation for unique fields within a Mongoose schema. | 36.9k | +37% | - | 6 months ago 6.1.1 | ESM only | Bundled | Schema validation, ORMs and query builders | |
| openapi-schemas JSON Schemas for every version of the OpenAPI Specification | 36.4k | -34% | - | 5 years ago 2.1.0 | CommonJS | Bundled | Documentation tooling, Schema validation | |
| validate.io-string-primitive Validates if a value is a string primitive. | 35.5k | +15% | - | 10 years ago 1.0.1 | CommonJS | None | Schema validation | |
| @fumari/json-schema-to-typescript compile json schema to typescript typings | 34.6k | - | - | - | 10 months ago 2.0.0 | ESM only | Bundled | TypeScript tooling, Schema validation |
| validate.io-number-primitive Validates if a value is a number primitive, excluding NaN. | 34.1k | +1% | - | 11 years ago 1.0.0 | CommonJS | None | Schema validation | |
| validate.io-integer-primitive Validates if a value is a number primitive and an integer. | 33.9k | +21% | - | 11 years ago 1.0.0 | CommonJS | None | Schema validation | |
| tamedevil Build and evaluate JavaScript strings safely via tagged template literals | 33.9k | +381% | - | 4 months ago 0.1.1 | CommonJS | Bundled | GraphQL, 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.
- znvParse your environment with Zod schemas
- @n8n/json-schema-to-zodConverts JSON schema objects into Zod schemas
- @accordproject/concerto-vocabularyAssociate human-readable text to model declarations
- chai-json-schemaChai plugin for JSON Schema v4
- genson-jsJSON schema generator with a possibility to merge schemas
- xsd-schema-validatorA (XSD) schema validator for nodejs
- protodef-validatorValidate ProtoDef protocol definition in node
- har-validator-compiledValidate a HAR file using a compiled AJV schema validator
- jest-json-schemaJSON schema matcher for jest
- fastify-zod-openapiFastify plugin for zod-openapi
- rxdbA local-first realtime NoSQL Database for JavaScript applications - https://rxdb.info/
- @criteria/json-pointerImplementation of JSON Pointer (RFC 6901).
- @criteria/json-schemaTypeScript implementation of the JSON Schema specification.
- @criteria/json-schema-validationValidate JSON instances using JSON Schema.
- @middy/validatorValidator middleware for the middy framework
- checkitSimple validations for node and the browser.
- pure-parseStrongly typed validation library that decouples type aliases from validation logic
- as-typedStatic TypeScript types from a literal JSONSchema type
- @secretlint/config-validator.secretlintrc config validation library
- remark-lint-frontmatter-schemaValidate Markdown frontmatter YAML against an associated JSON schema — remark-lint rule plugin
- validate.io-nonnegative-integerValidates if a value is a nonnegative integer.
- jsonschema-key-compressionCompress json-data based on its json-schema
- b-validateJavascript type validate
- jgexmlThe Just-Good-Enough XML Toolkit
- express-validationexpress-validation is a middleware that validates a request and returns a response with errors; if any of the configured validation rules fail.
- validatorjsValidation library inspired by Laravel's Validator
- @korzio/djv-draft-04JSON-Schema draft-04 plugin for djv package
- djvdynamic json-schema validator
- ein-validatorEmployer Identification Number validator and masker
- find-duplicated-property-keysA package for detecting all duplicated property keys of a JSON string.
- schema-streamProgressively parse streamed JSON into typed, schema-shaped snapshots
- openapi-request-validatorValidate request properties against an OpenAPI spec.
- @inngest/middleware-validationSchema validation middleware for Inngest.
- @varlock/vite-integrationVite plugin to use varlock for .env file loading - adds validation, type-safety, and extra security features
- @indexeddb-orm/idb-ormTypeScript ORM wrapper for indexeddb with Zod runtime validation, build on top of dexie.js
- @jackchuka/mdschemaA declarative schema-based Markdown documentation validator
- anchorHigh-level validation library for Node.js (used in Waterline)
- jquery-validation-unobtrusiveAdd-on to jQuery Validation to enable unobtrusive validation options in data-* attributes.
- ajv-merge-patch$merge and $patch keywords for Ajv JSON-Schema validator to extend schemas
- @pothos/plugin-validationA Pothos plugin for adding schema based validation
- graphql-constraint-directiveValidate GraphQL fields
- json-schema-compatibilityJSON Schema tools are now being written for v4 of the draft, but v3 schemas still exist out in the wild.
- drizzle-typeboxGenerate Typebox schemas from Drizzle ORM schemas
- mongoose-unique-validatormongoose-unique-validator is a plugin which adds pre-save validation for unique fields within a Mongoose schema.
- openapi-schemasJSON Schemas for every version of the OpenAPI Specification
- validate.io-string-primitiveValidates if a value is a string primitive.
- @fumari/json-schema-to-typescriptcompile json schema to typescript typings
- validate.io-number-primitiveValidates if a value is a number primitive, excluding NaN.
- validate.io-integer-primitiveValidates if a value is a number primitive and an integer.
- tamedevilBuild and evaluate JavaScript strings safely via tagged template literals
- 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