justrachjustrachCommunityยท2 Agent Skills Included

dhi

Ultra-fast data validation for Python and TypeScript

Validates data models, API payloads, and form inputs at extreme speed in Python and TypeScript. Replaces Pydantic and Zod with the same familiar API while running up to 520x faster through a Zig-powered native core. Eliminates slow request parsing and schema rewrites so existing code works unchanged with far better performance.
npx skills add justrach/dhi --all -g -y

All Skills in This Repository (2)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install dhi?โ–ผ

Run `npx skills add justrach/dhi --all -g -y` in your terminal to install all skills in this suite globally.

What is dhi used for?โ–ผ

dhi validates data models, API request bodies, and form inputs in Python and TypeScript. It is a drop-in replacement for Pydantic and Zod that runs dramatically faster.

Is dhi compatible with Pydantic and Zod?โ–ผ

Yes. dhi mirrors the Pydantic v2 BaseModel API in Python and the full Zod 4 API in TypeScript, so most existing code works without changes.

How much faster is dhi than Zod or Pydantic?โ–ผ

dhi processes tens of millions of validations per second, running up to 520x faster than Pydantic and over 13x faster than Zod 4 on benchmark suites.

Does dhi work in edge runtimes and browsers?โ–ผ

Yes. The TypeScript version ships as a 28KB WASM module that runs in browsers, Cloudflare Workers, and Vercel Edge, plus a faster native addon for Node.js.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’