CtrovalidateCtrovalidate

Command Palette

Search for a command to run...

v1.0.0 — Now available on npm

Form validation for the modern web

A zero-dependency form validation ecosystem. Framework agnostic, type-safe, and built for performance.

$npm install ctrovalidate-browser

Everything you need, nothing you don't

A complete validation toolkit designed for real-world applications.

Framework Agnostic

Works with vanilla JS, React, Vue, Svelte, and Next.js out of the box.

Schema-Based

Define validation rules as plain JSON objects — no complex DSLs.

Type-Safe

Full TypeScript support with inferred types from your schemas.

Browser + Server

Run the same validation logic on the client and server seamlessly.

Lightweight

Core is under 5KB gzipped. No dependencies, zero bloat.

22 Atomic Rules

Comprehensive built-in rules covering strings, numbers, dates, and more.

22
Atomic Rules
JSON
Schema Definition
<5KB
Core Gzipped
100%
Test Coverage

Ready to simplify your forms?

Install in seconds and start validating with a clean, declarative API.