Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
ariankoochak committed Oct 28, 2024
2 parents 8ab6bb6 + 27507f1 commit 04514ed
Show file tree
Hide file tree
Showing 13 changed files with 3,926 additions and 3,782 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,20 @@ check validate Phone number
```js
valiend.isPhoneNumber('+989121234567'); //true

valiend.isPhoneNumber('09121234567',{regions : ['fa-IR']}); //true
valiend.isPhoneNumber('09121234567',['fa-IR']); //true
```

check validate Postal Code
```js
valiend.isPostalCode('12345-12345'); //true

valiend.isPostalCode('12345-12345',['fa-IR','de-DE']); //true
```
check validate VAT number
```js
valiend.isVAT('DE494050532',['de-DE']); //true
```
Check the contents of the password
‍‍‍
```js
valiend.passwordContains('Test4:@5tARian');
/*{
Expand Down
Loading

0 comments on commit 04514ed

Please sign in to comment.