1.0.8 • Published 2 years ago

@zensen/form-validators v1.0.8

Weekly downloads
707
License
MIT
Repository
github
Last release
2 years ago

@zensen/form-validators

Validators for form-service

Features

  • Adds some other general-purpose, and condition-based validators
  • Uses the popular validators package
  • Provides a wrapper interface around these functions for compatibility with form-service

Install

Using npm:

$ npm install @zensen/form-validators

Using yarn:

$ yarn add @zensen/form-validators

Validators

This is a WIP package.

isRequired

isRequiredIf

isPropRequired

isSsn

isDate

isDateBefore

isDateAfter

isEmailAddress

isPhoneNumber

isPostalCode

hasLength

hasDuplicate

atMin

atMax

inRange

matchesPattern

1.0.8

2 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago