Skip to content

Commit 8a43317

Browse files
Update README.md (#24)
1 parent 99793d2 commit 8a43317

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# @qavajs/validation
22

3-
`npm install @qavajs/validation`
3+
```
4+
npm install @qavajs/validation
5+
```
46

57
@qavajs library that transforms plain english definition to validation functions
68

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

22-
All validations can be negated adding _not_ word.
24+
All validations can be negated adding `not` word.
2325

2426
## Test
2527

26-
`npm run test`
28+
```
29+
npm run test
30+
```

0 commit comments

Comments
 (0)