File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
- # IRCHECK
2
- IRCHECK is a Node.js validation library developed for Iranian developers in order to help them to do some validations on their specific national data.
1
+ # IRCheck
2
+ IRCheck is a Node.js validation library developed for Iranian developers in order to help them to do some validations on their specific national data.
3
3
4
4
## Install & Usage
5
5
You can install the package via the following command:
6
+
6
7
` npm install ircheck `
7
8
8
9
### Usage
@@ -14,12 +15,12 @@ const IRCheck = require('ircheck');
14
15
Then you can use the available methods for different available validators:
15
16
``` javascript
16
17
IRCheck .Phone .checkType (' 02191001848' ); // returns 'LANDLINE'
17
- IRCheck .Phone .normalizeMobile (' +989121234567' ); // returns '91234567 '
18
+ IRCheck .Phone .normalizeMobile (' +989121234567' ); // returns '9121234567 '
18
19
```
19
20
20
21
## Validators Availability
21
22
Currently, the following validators are available:
22
- * [ Iranian Phone Numbers] ( #phone )
23
+ * [ Iran Phone Numbers] ( #phone )
23
24
24
25
### Phone
25
26
Here’s a list of available methods:
@@ -32,6 +33,9 @@ Here’s a list of available methods:
32
33
* ` getProvincesFromLandline(number) ` Extract province data from a landline numbers
33
34
34
35
## History
36
+ ### 0.1.1
37
+ * Fixing typo errors in README.md file.
38
+
35
39
### 0.1.0
36
40
* Initial release
37
41
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ircheck" ,
3
- "version" : " 0.1.0 " ,
3
+ "version" : " 0.1.1 " ,
4
4
"description" : " Node.js validation library for Iranian developers" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments