@apiverve/phonenumbervalidator 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -19
- package/package.json +31 -31
package/README.md
CHANGED
|
@@ -68,25 +68,25 @@ api.execute(query, function (error, data) {
|
|
|
68
68
|
###### Example Response
|
|
69
69
|
|
|
70
70
|
```
|
|
71
|
-
{
|
|
72
|
-
"status": "ok",
|
|
73
|
-
"error": null,
|
|
74
|
-
"data": {
|
|
75
|
-
"country": "US",
|
|
76
|
-
"detectedCountry": "US",
|
|
77
|
-
"countrycode": 1,
|
|
78
|
-
"numberNational": 8165551017,
|
|
79
|
-
"extension": null,
|
|
80
|
-
"isvalid": true,
|
|
81
|
-
"type": "fixed_line_or_mobile",
|
|
82
|
-
"formatted": {
|
|
83
|
-
"international": "+1 816-555-1017",
|
|
84
|
-
"national": "(816) 555-1017",
|
|
85
|
-
"rfc": "tel:+1-816-555-1017",
|
|
86
|
-
"e164": "+18165551017"
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
"code": 200
|
|
71
|
+
{
|
|
72
|
+
"status": "ok",
|
|
73
|
+
"error": null,
|
|
74
|
+
"data": {
|
|
75
|
+
"country": "US",
|
|
76
|
+
"detectedCountry": "US",
|
|
77
|
+
"countrycode": 1,
|
|
78
|
+
"numberNational": 8165551017,
|
|
79
|
+
"extension": null,
|
|
80
|
+
"isvalid": true,
|
|
81
|
+
"type": "fixed_line_or_mobile",
|
|
82
|
+
"formatted": {
|
|
83
|
+
"international": "+1 816-555-1017",
|
|
84
|
+
"national": "(816) 555-1017",
|
|
85
|
+
"rfc": "tel:+1-816-555-1017",
|
|
86
|
+
"e164": "+18165551017"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"code": 200
|
|
90
90
|
}
|
|
91
91
|
```
|
|
92
92
|
|
package/package.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@apiverve/phonenumbervalidator",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "Phone Number Validator is a simple tool for validating if a phone number is valid or not. It checks the phone number format and the country code to see if the phone number is valid.",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "mocha"
|
|
8
|
-
},
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/apiverve/phonenumbervalidator-API.git"
|
|
12
|
-
},
|
|
13
|
-
"keywords": [
|
|
14
|
-
"phone validator","phone number validator","phone number validation","phone number validator api","phone number validation api"
|
|
15
|
-
],
|
|
16
|
-
"author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
|
|
17
|
-
"license": "MIT",
|
|
18
|
-
"bugs": {
|
|
19
|
-
"url": "https://github.com/apiverve/phonenumbervalidator-API/issues"
|
|
20
|
-
},
|
|
21
|
-
"homepage": "https://apiverve.com/marketplace/api/phonenumbervalidator",
|
|
22
|
-
"devDependencies": {
|
|
23
|
-
"mocha": "^
|
|
24
|
-
"chai": "^5.1.
|
|
25
|
-
"dotenv": "^16.4.
|
|
26
|
-
},
|
|
27
|
-
"dependencies": {
|
|
28
|
-
"node-fetch": "^3.3.2",
|
|
29
|
-
"promise": "^8.3.0",
|
|
30
|
-
"axios": "1.7.
|
|
31
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@apiverve/phonenumbervalidator",
|
|
3
|
+
"version": "1.1.6",
|
|
4
|
+
"description": "Phone Number Validator is a simple tool for validating if a phone number is valid or not. It checks the phone number format and the country code to see if the phone number is valid.",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "mocha"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/apiverve/phonenumbervalidator-API.git"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"phone validator","phone number validator","phone number validation","phone number validator api","phone number validation api"
|
|
15
|
+
],
|
|
16
|
+
"author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/apiverve/phonenumbervalidator-API/issues"
|
|
20
|
+
},
|
|
21
|
+
"homepage": "https://apiverve.com/marketplace/api/phonenumbervalidator?utm_source=npm",
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"mocha": "^11.0.1",
|
|
24
|
+
"chai": "^5.1.2",
|
|
25
|
+
"dotenv": "^16.4.7"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"node-fetch": "^3.3.2",
|
|
29
|
+
"promise": "^8.3.0",
|
|
30
|
+
"axios": "1.7.9"
|
|
31
|
+
}
|
|
32
32
|
}
|