Overview
TypeScript-first schema validation with static type inference
★42.6k
Forks1,929
Issues100
LicenseMIT
PrimaryTypeScript
Age6y 3m
Contributors100
Velocity12.5/wk
Branchmain
runtime-validationschema-validationstatic-typestype-inferencetypescript
1 new contributor joined
colinhacks led with 6 commits
+16 stars1 PR merged+14 new issues+6 commits
RepoBaron·colinhacks/zod
Top finding
View untested hotspots10 untested hotspots — most complex is convertBaseSchema
Cyclomatic 108 in packages/zod/src/v4/classic/from-json-schema.ts. No test file calls this function directly.
Health at a glance· rule-based signals · no AI required
View AI commentaryHealthy
Activity
24 of the last 24 sampled weeks had activity
Healthy
Team
100+ people have contributed; top 5 account for 74%
Unknown
Code
Refresh to populate
Needs work
PR flow
Human-authored PRs take a median of 18 days to merge
Healthy
Dependencies
96 packages analyzed across npm
Healthy
Hygiene
License + README present
Workspace· click any card to open
Canvas
104 hotspots · TypeScript
Folder map · color by author or type · time-scrub history
Imports
409 files · 3 edges
File-to-file imports + extends/implements + framework edges
Code
1,463 fns · 5 duplicate groups · 4% covered
Blast radius · untested hotspots · structural duplicates
Architecture
No classes detected
Class diagrams · Mermaid export · architectural intelligence
Packages
79 packages
CVE-aware health for npm / Cargo / PyPI
PRs
200 pull requests
Sankey of cycle-time flow · median time-to-merge
Insights
AI summary + health verdict
Grounded in 17 deterministic signals · zero hallucination
41fns
clone
packages/zod/src/v4/classic/schemas.ts·cyclomatic 1·8 direct callers
33fns
check
packages/zod/src/v4/classic/schemas.ts·cyclomatic 3·31 direct callers
29fns
$ZodRegistry.get
packages/zod/src/v4/core/registries.ts·cyclomatic 4·18 direct callers
26fns
$ZodRegistry.add
packages/zod/src/v4/core/registries.ts·cyclomatic 4·5 direct callers
25fns
ZodString._addCheck
packages/zod/src/v3/types.ts·cyclomatic 1·25 direct callers
Hotspots
Size = churn · Color = unique authors
less diversemore diverse
Weekly commit activity· from sampled commits
2025-08-252026-04-27
Language mix
- TypeScript89.3%
- MDX9.4%
- HTML0.7%
- JavaScript0.4%
- CSS0.1%
- Shell0.0%
Knowledge concentration
Folders with fewer authors = higher bus-factor risk
- packages/186 changes6 authors · low
- AGENTS.md/7 changes1 author · high
- .github/4 changes1 author · high
- package.json/2 changes1 author · high
- pnpm-lock.yaml/2 changes1 author · high
- scripts/2 changes1 author · high
- play.ts/1 changes1 author · high
- .gitignore/1 changes1 author · high
- SECURITY.md/1 changes1 author · high
- CONTRIBUTING.md/1 changes1 author · high