DEV Community

Cover image for @incogdev/validate: Fast and Type-safe JavaScript/TypeScript Validation Library
jQueryScript
jQueryScript

Posted on

@incogdev/validate: Fast and Type-safe JavaScript/TypeScript Validation Library

@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)