0.1.6 • Published 8 months ago

@platformbuilders/validations v0.1.6

Weekly downloads
93
License
ISC
Repository
github
Last release
8 months ago

Welcome to Platform Builders Validations

Build Status codecov npm MIT

Welcome to the Platform Builder form validations package here you will find out all the helpers that we use on our projects

Whats the idea of this repository

Easily apply validations to forms, specially using yup.

How can i use the library?

Just add the library to your project and import it!

  1. Depend on it:
yarn add @platformbuilders/validations
  1. Import example:
import { isValidFullName } from '@platformbuilders/validations'

Validations

NameReturnsArguments
isValidAccountBanktruthy OR falsy(string)
isValidAlphabetLetterstruthy OR falsy(string)
isValidAlphanumerictruthy OR falsy(string)
isValidBirthDatetruthy OR falsy(string)
isValidCeptruthy OR falsy(string)
isValidCnpjtruthy OR falsy(string)
isValidCpftruthy OR falsy(string)
isValidCurrencytruthy OR falsy(string)
isValidDDDtruthy OR falsy(string)
isValidDocumenttruthy OR falsy(string)
isValidDocumentDatetruthy OR falsy(string)
isValidEmailtruthy OR falsy(string)
isValidFullNametruthy OR falsy(string)
isValidOnlyNumberstruthy OR falsy(string)
isValidPasswordtruthy OR falsy(string)
isValidPhonetruthy OR falsy(string, number?)
isValidPintruthy OR falsy(string, number?)
isValidPositiveValuetruthy OR falsy(string)
isValidSocialNametruthy OR falsy(string)
isValidNickNametruthy OR falsy(string)
isValidSocialUsernametruthy OR falsy(string)
0.1.6

8 months ago

0.1.5

10 months ago

0.1.4

11 months ago

0.1.3

11 months ago

0.1.2

1 year ago

0.1.1

1 year ago

0.0.20

1 year ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.5

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago