Glossary: Next.js Beyond the Basics
Zod
Also written: safeParse, z.coerce
A library that checks data against a schema and explains what is wrong. safeParse returns { success, data } or { success: false, error } without throwing, and z.coerce converts form strings to numbers first.