Skip to content

Coffeeless-Programming-Playground/coffeeless-react-validators

Repository files navigation

Coffeeless validator

Coffeeless validator is a package that allows JavaScript/TypeScript based applications to apply input validations by leveraging the Builder pattern, similar to joi but in a simplified way, by leveraging the builder pattern validations can be applied intuitively and consistently.

Use this package to support basic usecases. If you require a lightweight library, coffeeless validator is for you!

The following validations supported:

  • Required field
  • Is email valid.
  • Minimum and Maximum length.
  • Valid field (through a provided regex pattern)