Z-Schema Errors
JSON →z-schema-errors normalizes error messages from Z-Schema JSON Schema validation reports. It transforms nested property paths (e.g., '#/items/[0]' → 'items[0]'), extracts first array params, and allows custom message formatting using macros like {message}, {path}, {description}, and {params[i]}. Supports global context messages and custom extractors for each macro. Version 0.2.1 is the latest; no recent updates. As a thin wrapper around Z-Schema, it only works with that validator. No TypeScript types are provided, and it uses CommonJS.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 1 distinct systems
last hit 17d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇪🇸 Spain · 🇬🇧 United Kingdom
Resources
packagez-schema-errors ↗