{"id":15011283,"url":"https://github.com/byteplant/phone-validator-net","last_synced_at":"2025-07-02T16:33:42.125Z","repository":{"id":34982661,"uuid":"52006878","full_name":"byteplant/phone-validator-net","owner":"byteplant","description":"NodeJS wrapper for the phone-validator.net API","archived":false,"fork":false,"pushed_at":"2023-01-04T00:39:18.000Z","size":355,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-26T14:45:51.969Z","etag":null,"topics":["byteplant","cleaning","cleaning-data","data-quality","data-validation","javascript","node-js","node-module","phone","phone-marketing","phone-number","phone-number-verification","phone-validation","phonenumber","typescript","validation"],"latest_commit_sha":null,"homepage":"https://www.phone-validator.net/api.html","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/byteplant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-18T12:51:57.000Z","updated_at":"2024-04-26T14:45:51.969Z","dependencies_parsed_at":"2023-01-15T11:30:43.849Z","dependency_job_id":null,"html_url":"https://github.com/byteplant/phone-validator-net","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteplant%2Fphone-validator-net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteplant%2Fphone-validator-net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteplant%2Fphone-validator-net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteplant%2Fphone-validator-net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byteplant","download_url":"https://codeload.github.com/byteplant/phone-validator-net/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248094985,"owners_count":21046770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["byteplant","cleaning","cleaning-data","data-quality","data-validation","javascript","node-js","node-module","phone","phone-marketing","phone-number","phone-number-verification","phone-validation","phonenumber","typescript","validation"],"created_at":"2024-09-24T19:40:13.486Z","updated_at":"2025-04-09T19:05:02.533Z","avatar_url":"https://github.com/byteplant.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# phone-validator-net\r\n\r\nA small library providing a wrapper for [api.phone-validator.net](https://www.phone-validator.net/api.html)\r\n\r\n## Installation\r\n\r\n```shell\r\nnpm install phone-validator-net\r\n```\r\n\r\n## Usage\r\n\r\n```js\r\nimport PhoneValidator from 'phone-validator-net'\r\n\r\n// YOUR_API_KEY is a string\r\nconst validatorInstance = PhoneValidator(YOUR_API_KEY)\r\n\r\nconst responseObject = await validatorInstance(phoneObject) //validates phone object\r\n//phone is an object like\r\n// {\r\n//   number: \"+49173xxxxxxxxx\",  //phone number to validate (string) | 0173xxxxxxx also possible with country code\r\n//   countrycode: \"de\",        //two letter ISO 3166-1 country code (string) [optional]\r\n//   mode: \"extensive\"           //'extensive' | 'express' (string) [optional; default 'extensive']\r\n// }\r\n\r\n/*\r\n  responseObject looks like this:\r\n  {\r\n    status\t              VALID_CONFIRMED, VALID_UNCONFIRMED, INVALID or error: DELAYED, RATE_LIMIT_EXCEEDED, API_KEY_INVALID_OR_DEPLETED\r\n    linetype\t            FIXED_LINE, MOBILE, VOIP, TOLL_FREE, PREMIUM_RATE, SHARED_COST, PERSONAL_NUMBER, PAGER, UAN, VOICEMAIL\r\n    location\t            geographical location (city, county, state)\r\n    countrycode\t          two letter ISO 3166-1 country code\r\n    formatnational\t      phone number in national format\r\n    formatinternational\t  phone number in international format\r\n  }\r\n\r\n  =\u003e https://www.phone-validator.net/api.html\r\n*/\r\n});\r\n```\r\n\r\n## Tests\r\n\r\n```shell\r\nnpm test\r\n```\r\n\r\n## Release History\r\n\r\n- 2.0.0 Rewrite in Typescript and using Promises\r\n- 0.1.0 Initial release\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteplant%2Fphone-validator-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyteplant%2Fphone-validator-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteplant%2Fphone-validator-net/lists"}