Ross ROSS = Recommend OSS · open-source software intelligence for agents

colinhacks/zod

TypeScript-first schema validation with static type inference observed · 2026-08-28

github.com/colinhacks/zod · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

89/100

  • Activity 99
  • Release rhythm 70
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 0.0
  • age_days: 2370
  • days_rel: 121
  • days_push: 7
  • n_releases_24m: 115

Full methodology

Adoption not part of the score

43535 stars · 2147 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Zod is a TypeScript-first schema validation library for defining and validating data structures at runtime with static type inference. It has zero dependencies, a tiny 2kb core, works in Node.js and browsers, and includes built-in JSON Schema conversion.

Use cases

  • validate untrusted API request bodies in TypeScript
  • parse and type-check environment variables
  • validate form input with type-safe schemas
  • infer static TypeScript types from runtime schemas
  • convert schemas to JSON Schema for OpenAPI docs
  • validate data from external JSON sources
  • build end-to-end typesafe APIs with tRPC

When to choose

  • you use TypeScript and want runtime validation that stays in sync with static types
  • you need a small, dependency-free validation library for Node or browsers
  • you want JSON Schema generation or a rich validation ecosystem (tRPC, form libraries)

When to avoid

  • your project is plain JavaScript without TypeScript and you don't need type inference
  • you need extremely high-throughput validation where a compiled/AOT validator outperforms an interpreter
  • you're locked to TypeScript versions older than 5.5

Facets

library · maturity stable

serialization type-system developer-tools web-development developer-tools apis browser bun cross-platform schema-validation runtime-validation static-type-inference -schema typescript-first form-validation env-validation nodejs deno typescript

6 sources

Member repositories

RepositoryRoleHealth v2
colinhacks/zodmain89

For agents

markdown · JSON · MCP: product_card(name="colinhacks/zod")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem