Vex
Ultra-fast Schema Validation
12x faster than Zod • 6x faster than Valibot • Pure functional design
import { str, num, object, email, int, positive } from '@sylphx/vex'
const userSchema = object({
name: str(),
email: str(email),
age: num(int, positive),
})
const user = userSchema(data) // throws on error