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 |
|---|---|---|---|---|---|---|---|---|
| validate.io-array-like Validates if a value is array-like. | 33.8k | +12% | - | 10 years ago 1.0.2 | CommonJS | None | Schema validation | |
| validate.io-buffer Validates if a value is a Buffer object. | 33.8k | +14% | - | 10 years ago 1.0.2 | CommonJS | None | Schema validation | |
| @ankhorage/contracts Serializable app, action, theme, auth, and secret-store contracts for Ankhorage. | 33.8k | - | - | - | 2 days ago 22.8.2 | ESM only | Bundled | TypeScript tooling, Authentication and authorisation |
| pg-introspection Strongly typed PostgreSQL introspection library | 33.3k | +403% | - | 5 months ago 1.0.1 | CommonJS | Bundled | Database clients and drivers, Schema validation | |
| @json-editor/json-editor JSON Schema based editor | 33k | - | - | - | 1 month ago 2.17.2 | CommonJS | None | Schema validation, Parsers and serialisers |
| eclint Validate or fix code that doesn't adhere to EditorConfig settings or infer settings from existing code. | 32.6k | -32% | - | 7 years ago 2.8.1 | CommonJS | Bundled | Schema validation | |
| validate.io-matrix-like Validates if a value is matrix-like. | 32.2k | +25% | - | 11 years ago 1.0.2 | CommonJS | None | Schema validation | |
| validate Validate object properties in javascript. | 31.4k | -9% | - | 4 years ago 5.2.0 | CommonJS | None | Schema validation | |
| @redocly/allof-merge Simplify JsonSchema/Openapi by combining allOf safely | 30.5k | - | - | - | 3 months ago 0.6.9 | ESM only | Bundled | Documentation tooling, Schema validation |
| prisma-json-schema-generator JSON generator for prisma schema | 30.3k | +93% | - | 2 years ago 5.1.5 | CommonJS | None | ORMs and query builders, Schema validation | |
| validate.io-positive-integer Validates if a value is a positive integer. | 30.1k | +15% | - | 11 years ago 1.0.0 | CommonJS | None | Schema validation | |
| validate.io-ndarray-like Validates if a value is ndarray-like. | 29.4k | +6% | - | 11 years ago 1.0.0 | CommonJS | None | Schema validation | |
| suretype Typesafe JSON (Schema) validator with magic powers 🧙♂️ | 29.4k | -10% | - | 3 years ago 3.3.1 | ESM only | Bundled | Schema validation, TypeScript tooling | |
| ajv-cmd Deref, Validate, Transpile, and Test JSON-Schema (.json) files using ajv | 29.2k | +34% | - | 16 days ago 0.17.1 | ESM only | Bundled | Schema validation, Build tools | |
| oslllo-validator All in one Javascript validator | 28.9k | -16% | - | 9 months ago 4.0.0 | CommonJS | None | Schema validation, Node.js utilities | |
| @pothos/plugin-zod A Pothos plugin for adding argument validation | 28.5k | - | - | - | 11 days ago 4.3.2 | ESM + CommonJS | Bundled | Schema validation, TypeScript tooling |
| yup-password Yup, dead simple password validation. | 28.2k | -6% | - | 2 years ago 0.4.0 | CommonJS | Bundled | Schema validation | |
| goke Simple yet powerful framework for building command-line apps. Inspired by cac. | 27.6k | +397567% | - | 9 days ago 6.17.0 | ESM only | Bundled | CLI tools and terminal utilities, Schema validation | |
| api-schema-builder build schema with validators for each endpoint | 26.9k | +10% | - | 4 years ago 2.0.11 | CommonJS | None | Schema validation, Documentation tooling | |
| uk-modulus-check TypeScript class that validates UK bank account details using the modulus checking algorithm. | 26.7k | +62% | - | 9 months ago 2.0.11 | CommonJS | Bundled | Schema validation | |
| @julr/vite-plugin-validate-env ✅ Vite plugin for validating your environment variables | 26.6k | - | - | - | 6 months ago 2.2.2 | ESM only | None | Schema validation, Bundler plugins and loaders |
| zod-schema-faker Generates mock data from zod schema. Powered by @faker-js/faker and randexp.js | 26.5k | +512% | - | 6 months ago 2.1.1 | ESM + CommonJS | Bundled | Dev servers and API mocking, Schema validation | |
| kubb The meta framework for code generation. Point Kubb at a schema and it generates types, clients, hooks, validators, mocks, and more. | 26.3k | +990% | - | 1 day ago 5.3.16 | ESM + CommonJS | Bundled | TypeScript tooling, Schema validation | |
| personnummer Validate Swedish personal identity numbers | 25.9k | +73% | - | 3 years ago 3.2.1 | ESM + CommonJS | Bundled | Schema validation, Security | |
| ibankit Validation, field extraction and creation of IBAN, BBAN, BIC numbers | 25.5k | +135% | - | 1 year ago 1.6.5 | ESM + CommonJS | Bundled | Schema validation, TypeScript tooling | |
| chai-json-schema-ajv A chai plugin for validate json schema. | 25.3k | -79% | - | 5 years ago 5.2.4 | CommonJS | None | Schema validation | |
| jsonschema-draft4 A copy of json schema draft 4. | 25.2k | -29% | - | 10 years ago 1.0.0 | CommonJS | None | Schema validation | |
| joi-to-json-schema Joi -> JSON Schema Converter | 25k | +205% | - | 7 years ago 5.1.0 | CommonJS | None | Schema validation | |
| @replit/river It's like tRPC but... with JSON Schema Support, duplex streaming and support for service multiplexing. Transport agnostic! | 24.5k | - | - | - | 9 days ago 0.223.0 | ESM only | None | Schema validation |
| myzod Schema Validation with typescript type inference. | 24.3k | +6% | - | 1 year ago 1.12.1 | CommonJS | Bundled | Schema validation, TypeScript tooling | |
| fluent-json-schema JSON Schema fluent API | 24k | +16% | - | 1 month ago 6.0.1 | CommonJS | Bundled | Schema validation | |
| zod-geojson Zod schemas for GeoJSON | 24k | +1118% | - | 28 days ago 1.7.1 | ESM + CommonJS | Bundled | Schema validation, Maps and geolocation | |
| @speclynx/apidom-ns-json-schema-draft-4 JSON Schema Draft 4 namespace for ApiDOM. | 23.8k | - | - | - | 6 days ago 5.2.6 | ESM + CommonJS | Bundled | Schema validation, Documentation tooling |
| zod-express-middleware Express middleware to validate requests using zod schema's. | 23.8k | +37% | - | 5 years ago 1.4.0 | CommonJS | Bundled | HTTP servers and web frameworks, Schema validation | |
| yaml-schema-validator Schema validator for yaml files | 23.8k | +113% | - | 5 years ago 1.2.3 | CommonJS | None | Schema validation | |
| @speclynx/apidom-ns-json-schema-draft-6 JSON Schema Draft 6 namespace for ApiDOM. | 23.7k | - | - | - | 6 days ago 5.2.6 | ESM + CommonJS | Bundled | Schema validation, TypeScript tooling |
| @speclynx/apidom-ns-json-schema-draft-7 JSON Schema Draft 7 namespace for ApiDOM. | 23.6k | - | - | - | 6 days ago 5.2.6 | ESM + CommonJS | Bundled | Schema validation, TypeScript tooling |
| @speclynx/apidom-ns-json-schema-2020-12 JSON Schema 2020-12 namespace for ApiDOM. | 23.6k | - | - | - | 6 days ago 5.2.6 | ESM + CommonJS | Bundled | Schema validation, Documentation tooling |
| schema-to-yup Build a Yup schema object to validate models from a domain model schema (JSON or GraphQL) | 23.5k | -27% | - | 2 years ago 1.12.18 | CommonJS | Bundled | Schema validation, GraphQL | |
| map-schema Normalize an object by running normalizers and validators that are mapped to a schema. | 22.7k | -17% | - | 6 years ago 0.3.0 | CommonJS | None | Schema validation | |
| meta-json-schema JSON Schema for Clash Meta | 22.4k | +24% | - | 5 days ago 1.19.31 | - | None | Schema validation | |
| validate-glob-opts Validate glob options | 22.4k | +0% | - | 8 years ago 1.0.2 | - | None | Files and file systems, Schema validation | |
| assert-valid-glob-opts Assert a given object is a valid glob option | 22k | +7% | - | 9 years ago 1.0.0 | - | None | Files and file systems, Testing | |
| @elastic/schemas Request and response schemas for all Elastic APIs | 21.9k | - | - | - | 7 days ago 0.8.0 | ESM + CommonJS | Bundled | Schema validation |
| glob-option-error Create an error from the result of validate-glob-opts | 21.9k | +2% | - | 9 years ago 1.0.0 | - | None | Files and file systems, Schema validation | |
| ts-json-validator Let JSON play nicely with Typescript | 21.8k | +52% | - | 5 years ago 0.7.1 | CommonJS | Bundled | Schema validation, TypeScript tooling | |
| @fastify/type-provider-zod Zod Type Provider for Fastify@5 | 21.7k | - | - | - | 5 months ago 1.0.0 | ESM + CommonJS | Bundled | HTTP servers and web frameworks, Schema validation |
| @inixiative/json-rules TypeScript-first JSON rules engine with intuitive syntax and detailed error messages | 21.6k | - | - | - | 4 days ago 2.25.0 | ESM + CommonJS | Bundled | TypeScript tooling, Schema validation |
| @hapi/joi-date Joi extension for dates | 21.5k | - | - | - | 6 years ago 2.0.1 | CommonJS | None | Date and time, Schema validation |
| @roadiehq/roadie-backstage-entity-validator Backstage entity validator library | 20.7k | - | - | - | 6 months ago 2.8.3 | CommonJS | Bundled | Schema validation, Linting and formatting |
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.
- validate.io-array-likeValidates if a value is array-like.
- validate.io-bufferValidates if a value is a Buffer object.
- @ankhorage/contractsSerializable app, action, theme, auth, and secret-store contracts for Ankhorage.
- pg-introspectionStrongly typed PostgreSQL introspection library
- @json-editor/json-editorJSON Schema based editor
- eclintValidate or fix code that doesn't adhere to EditorConfig settings or infer settings from existing code.
- validate.io-matrix-likeValidates if a value is matrix-like.
- validateValidate object properties in javascript.
- @redocly/allof-mergeSimplify JsonSchema/Openapi by combining allOf safely
- prisma-json-schema-generatorJSON generator for prisma schema
- validate.io-positive-integerValidates if a value is a positive integer.
- validate.io-ndarray-likeValidates if a value is ndarray-like.
- suretypeTypesafe JSON (Schema) validator with magic powers 🧙♂️
- ajv-cmdDeref, Validate, Transpile, and Test JSON-Schema (.json) files using ajv
- oslllo-validatorAll in one Javascript validator
- @pothos/plugin-zodA Pothos plugin for adding argument validation
- yup-passwordYup, dead simple password validation.
- gokeSimple yet powerful framework for building command-line apps. Inspired by cac.
- api-schema-builderbuild schema with validators for each endpoint
- uk-modulus-checkTypeScript class that validates UK bank account details using the modulus checking algorithm.
- @julr/vite-plugin-validate-env✅ Vite plugin for validating your environment variables
- zod-schema-fakerGenerates mock data from zod schema. Powered by @faker-js/faker and randexp.js
- kubbThe meta framework for code generation. Point Kubb at a schema and it generates types, clients, hooks, validators, mocks, and more.
- personnummerValidate Swedish personal identity numbers
- ibankitValidation, field extraction and creation of IBAN, BBAN, BIC numbers
- chai-json-schema-ajvA chai plugin for validate json schema.
- jsonschema-draft4A copy of json schema draft 4.
- joi-to-json-schemaJoi -> JSON Schema Converter
- @replit/riverIt's like tRPC but... with JSON Schema Support, duplex streaming and support for service multiplexing. Transport agnostic!
- myzodSchema Validation with typescript type inference.
- fluent-json-schemaJSON Schema fluent API
- zod-geojsonZod schemas for GeoJSON
- @speclynx/apidom-ns-json-schema-draft-4JSON Schema Draft 4 namespace for ApiDOM.
- zod-express-middlewareExpress middleware to validate requests using zod schema's.
- yaml-schema-validatorSchema validator for yaml files
- @speclynx/apidom-ns-json-schema-draft-6JSON Schema Draft 6 namespace for ApiDOM.
- @speclynx/apidom-ns-json-schema-draft-7JSON Schema Draft 7 namespace for ApiDOM.
- @speclynx/apidom-ns-json-schema-2020-12JSON Schema 2020-12 namespace for ApiDOM.
- schema-to-yupBuild a Yup schema object to validate models from a domain model schema (JSON or GraphQL)
- map-schemaNormalize an object by running normalizers and validators that are mapped to a schema.
- meta-json-schemaJSON Schema for Clash Meta
- validate-glob-optsValidate glob options
- assert-valid-glob-optsAssert a given object is a valid glob option
- @elastic/schemasRequest and response schemas for all Elastic APIs
- glob-option-errorCreate an error from the result of validate-glob-opts
- ts-json-validatorLet JSON play nicely with Typescript
- @fastify/type-provider-zodZod Type Provider for Fastify@5
- @inixiative/json-rulesTypeScript-first JSON rules engine with intuitive syntax and detailed error messages
- @hapi/joi-dateJoi extension for dates
- @roadiehq/roadie-backstage-entity-validatorBackstage entity validator library
- 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