Validate values with tiny, composable functions.
minivalid.js is a dependency-free toolkit for checking strings, emails, passwords, and numbers - without a heavy schema framework.
Extremely minimal by design: no schemas, no async layer, no form state - just small validators you chain together.
Quick start
import { validate, required, validateEmail } from "minivalid";
const result = validate(email, [required, validateEmail]);
$ npm install minivalid