MikeTrendsTrends right now

⬢github TypeScript · 44.1K ★ +8 since we first saw it · pushed 1 h ago · MIT

colinhacks/zod

TypeScript-first schema validation with static type inference

Zod is a TypeScript-first schema validation library. You define schemas describing the shape of your data, then parse untrusted input against them to get back a validated, statically typed result. It has zero dependencies, a tiny ~2kb core, works in Node and browsers, converts to JSON Schema, and offers ahead-of-time compiled parsers for faster hot-path validation.

Why now: A Hacker News post warns people not to install Zod 4.6.6, claiming it might be infected — a supply-chain scare around a very widely used package, driving discussion.

Who it is for: TypeScript and JavaScript developers who need runtime validation of untrusted data with static type inference.

typescriptvalidationschemanpmtype-inference

runtime-validationschema-validationstatic-typestype-inferencetypescript

Open on GitHub →

Stars over our 32 snapshots: 44.1K to 44.1K, since 7 h ago.

Where people talked about it

API: https://socialmediatrends-api.osmike.com/v1/repos/colinhacks/zod