Zod Utilz
JSON →Zod Utilz (zod_utilz) is a TypeScript library providing framework-agnostic utilities that extend the functionality of Zod. Currently at version 0.8.4, it aims to simplify common Zod tasks, fill feature gaps, and offer implementations for potential new Zod features. Key utilities include `SPR` for enhanced `SafeParseResult` handling, `makeErrorMap` for custom error maps, `coerce` for type coercion, and dedicated schemas like `json()` and `stringToJSON()` for JSON validation. The library maintains a steady release cadence, typically with minor versions introducing new utilities. It differentiates itself by focusing on practical, often-requested Zod extensions, while also striving for reduced bundle size by replacing internal dependencies like Lodash. It requires `zod` (`^3.22.4`) and `typescript` (`^5.0.0`) as peer dependencies.
Traffic · last 30 days ↓87% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany