zod-to-json-schema
npmv3.25.2TypeScriptConverts Zod schemas to Json Schemas
Overview
zod-to-json-schema is an npm package that converts Zod schemas to Json Schemas. It is extremely widely used, with about 46M downloads per week and 1 known dependents in the graph. The latest version is 3.25.2, released under the ISC license.
Who should use it
Teams working in the npm ecosystem who need converts Zod schemas to Json Schemas and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (46M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (ISC).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of zod-to-json-schema.
Dependencies
Peer (1)
Dev (11)
Used by
Popular packages that depend on zod-to-json-schema.
Alternatives to zod-to-json-schema
Fast and low overhead web framework, for Node.js
Stringify your JSON at max speed
JSON schema reference resolver
Builds a logical conjunction (AND) of multiple JSON schemas
JSON Schema TypeScript definitions with complete inline documentation.
The official runtime utils for Standard Schema
Protocol Buffers for ECMAScript. The only JavaScript Protobuf library that is fully-compliant with Protobuf conformance tests.
A module for reading, writing, and manipulating JSON files
A library for interacting with the app.json
Asynchronous bootstrapping of Node applications
Build and manage the AJV instances for the fastify framework
A package used by Expo CLI for processing images
Frequently installed together
TypeScript-first schema declaration and validation library with static type inference
Create and parse HTTP Content-Type header
Get and validate the raw body of a readable stream.
JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes
TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
TypeScript definitions for ws
Basic IP rate-limiting middleware for Express. Use to limit repeated requests to public APIs and/or endpoints such as password reset.
Node.js Adapter for Hono
Generate or verify a Proof Key for Code Exchange (PKCE) challenge pair
TypeScript definitions for cors
Fast, unopinionated, minimalist web framework
Web framework built on Web Standards
Version history
| Version | Published | License |
|---|---|---|
| 3.25.2latest | 3 months ago | ISC |
| 3.25.2-beta.0 | 3 months ago | ISC |
| 3.25.1 | 6 months ago | ISC |
| 3.25.0 | 8 months ago | ISC |
| 3.24.6 | 1 year ago | ISC |
| 3.24.5 | 1 year ago | ISC |
| 3.24.4 | 1 year ago | ISC |
| 3.24.3 | 1 year ago | ISC |
| 3.24.2 | 1 year ago | ISC |
| 3.24.1 | 1 year ago | ISC |
| 3.24.0 | 1 year ago | ISC |
| 3.23.5 | 1 year ago | ISC |
| 3.23.4 | 1 year ago | ISC |
| 3.23.3 | 1 year ago | ISC |
| 3.23.2 | 2 years ago | ISC |
| 3.23.1 | 2 years ago | ISC |
| 3.23.0 | 2 years ago | ISC |
| 3.22.5 | 2 years ago | ISC |
| 3.22.4 | 2 years ago | ISC |
| 3.22.3 | 2 years ago | ISC |
Maintainers
Frequently asked questions
How do I install zod-to-json-schema?
Run `npm install zod-to-json-schema` to add zod-to-json-schema to your npm project.
What license is zod-to-json-schema released under?
zod-to-json-schema is distributed under the ISC license.
How popular is zod-to-json-schema?
zod-to-json-schema has approximately 46,034,112 downloads per week and 1 known dependent packages.