1.0.9 • Published 6 months ago

@asaje/form-validator v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months 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

6 months ago

1.0.8

7 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago