Valibot, ArkType & Yup
Në shqip përdoret i njëjti emër.
ShpjegimiSQ
Alternativa të Zod për validim të të dhënave me tipe: Valibot (shumë i vogël), ArkType (sintaksë si TypeScript, shumë i shpejtë), Yup (i vjetër, popullor me format).
EnglishEN
Alternatives to Zod for typed data validation: Valibot (very small), ArkType (TypeScript-like syntax, very fast), Yup (older, popular with forms).
Si ta mendosh
Si marka të ndryshme kandarësh: të gjitha peshojnë, me stile të ndryshme.
Lexoje në anglisht
Like different brands of scales: they all weigh, in different styles.
Shembull koditypescript
import * as v from "valibot";
const Nxenes = v.object({ emri: v.string(), nota: v.number() });
type Nxenes = v.InferOutput<typeof Nxenes>;