ngx-smart-validators
Tree-shakeable validators for reactive and template-driven forms — numbers, strings, dates, formats and normalising transforms free, with a scored password engine, credit card and IBAN checks, age rules, cross-field validation and metadata-accurate international phone numbers on a licence. Works with Angular 17 through 22.
npm install @ebdev/ngx-smart-validatorsFree
- Numbers, ranges, alpha, alphanumeric, whitespace
- Regex, starts/ends/includes, URL, strict email
- Valid, min, max, past and future dates
- UUID, JSON, base64, hex colour, IP, latitude, longitude
- Basic phone-number shape
- Normalising transforms — case, int, float, oneOf
- Password confirmation (matchFields)
- Template-driven directives and the message system
- Tree-shakeable — you ship only what you import
Premium
- Scored password-strength engine
- Credit card and IBAN validation
- Minimum and maximum age from a date of birth
- Cross-field rules — date range, requiredIf, atLeastOne, allOrNone
- Metadata-accurate international phone numbers