1.3.2 • Published 1 year ago

@technical_user/validation v1.3.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Installation

Using npm

$ npm i -g npm
$ npm i @technical_user/validation

Usage

const validation = new Validation()

interface:

export interface IValidation {
  isMail(email: string): boolean;
  hasUperCase(str: string): boolean;
  hasLowerCase(str: string): boolean;
  hasNumber(str: string): boolean;
  isEmpty(str?: string): boolean;
  isNumber(str: string): boolean;
  isDate(str: string, local?: Local): boolean;
  isUrl(uri: string): boolean;
  isDateValidation(date: string): boolean;
  hasAlpha(value: string): boolean;
  hasSpecial(value: string): boolean;
  hasSpecialDate(value: string): boolean;
  checkIsDate(value: string): boolean;
}
1.3.2

1 year ago

1.3.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago