@incogdev/validate: a zero-dependency JavaScript and TypeScript validation library with a chainable API for single values and schema-based validation for full objects.
Key features:
- Chainable rules: email, phone, URL, credit card, IP address, password strength
- Schema validation for flat and nested objects with dot-notated error paths
- Async validation for database uniqueness checks
- Conditional rules, pipeline transforms, and batch processing
- Full TypeScript support with generics and schema interfaces
- Runs in Node.js and the browser, no external dependencies required
👉 Blog Post
👉 GitHub Repo
👉 Live Demo
Top comments (0)