zod-urlsearchparams
JSON →Serializes and deserializes a Zod schema to and from URLSearchParams. Current stable version is 0.0.16, with an experimental API that may change. It minimalizes URLs by keeping scalars human-readable and encoding vectors (like arrays and objects) with base64. Zero dependencies outside of Zod (peer dependency: zod ^3.0.0). Ships TypeScript types. Differentiator: type-safe URL parameter handling using Zod schemas, with a class-based API and lenient parsing that falls back to defaults.
Resources
packagezod-urlsearchparams ↗
API endpoints
full doc /v1/registry/zod-urlsearchparams