colinhacks

    colinhacks/zod

    TypeScript-first schema validation with static type inference

    44.3K stars
    2.3K forks
    78 GitHub watchers
    Updated Nov 6, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 25 days ago, with 463 contributors on GitHub.

    Peaked at #39 in the weekly ranking the week of Aug 30, its best in the past year.

    Use Cases & Benefits

    • Provides TypeScript-first schema validation with static type inference for runtime data parsing and validation.
    • Enables strong type safety and validation simultaneously, reducing runtime errors with zero external dependencies.
    • Use for validating and parsing API request payloads to ensure type-safe data handling in TypeScript applications.
    • Use for building robust form validation logic that integrates seamlessly with TypeScript types and error handling.
    • Use for generating JSON schemas from TypeScript schemas to maintain consistency between backend validation and frontend contracts.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Learn more about featured sponsorships

    Zod is a TypeScript-first validation library. Define a schema and parse some data with it. You'll get back a strongly typed, validated result.

    Excerpt from the colinhacks/zod README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Aug 31: +106Sep 1: +19Sep 2: +20Sep 3: +41Sep 4: +23Sep 5: +15Sep 6: +10Sep 7: +28Sep 8: +14Sep 15: +7Sep 19: +2Sep 25: +6

    +780 stars over 79 days across 20 snapshot days; best day +106 on Aug 31.

    Forks

    2.3K+190

    Open issues

    115-6

    Compared with peers in Web

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    colinhacks/zod compared with Web repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    pingdotgg/t3code55.7K+12.2K75today
    pbakaus/impeccable107.6K+6.1K751 day ago
    meta/astryx22.8K+4.8K75today
    Renhuai123/ziwei-doushu17.5K+3.7K7526 days ago
    ranxianglei/billion-context6.3K+2.4K753 days ago
    colinhacks/zod44.3K—6425 days ago
    Category median22.8K+4.8K75—

    Discover Repositories

    Search across tracked repositories by name or description