Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# @qavajs/validation

`npm install @qavajs/validation`
```
npm install @qavajs/validation
```

@qavajs library that transforms plain english definition to validation functions

Lib supports following validations:
Library supports following validations:
* equal - not strict equal (==)
* strictly equal - strict equal (===)
* deeply equal - deep equal (chai eql)
Expand All @@ -19,8 +21,10 @@ Lib supports following validations:
* match schema - match [ajv](https://www.npmjs.com/package/ajv) schema
* case insensitive equal - not strict equal (==) with casting to lower case

All validations can be negated adding _not_ word.
All validations can be negated adding `not` word.

## Test

`npm run test`
```
npm run test
```