1.0.9 • Published 2 years ago

@asaje/form-validator v1.0.9

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

Validator

Description

A tool for easily validate a value based on specific schemas

Installation

npm i @asaje/form-validator

or

yarn add @asaje/form-validator

How to use

import { Validator } from '@asaje/form-validator';

const result = Validator.validate('hello', [
  Validator.required(),
  Validator.alpha(),
  Validator.minLength(5),
  Validator.maxLength(12),
]);
1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago