1.0.10 • Published 4 years ago

simple-awesome-validator v1.0.10

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Validator

This project is a work in progress. Features will be added as needed. If you need a new rule please make a pull request. If you have any suggestions please let me know. Thanks.

:gear: Installation

yarn add simple-awesome-validator

:electric_plug: Dependencies

Check package.json file.

:memo: Documentation

import Validator from 'simple-awesome-validator'

Validator.numeric().positive().validate(-5) //false
Validator.numeric().positive().validate(10) //true

Autocomplete should help you see all validation rules. Documentation will be updated in short time.

Development

To start webpack dev server run

yarn start

To build the project run

yarn build

:heavy_check_mark: Run tests

In project root directory run

yarn test

:scroll: License

See the LICENSE file for license rights and limitations.

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago