{"id":22085625,"url":"https://github.com/nexmo/node-verify-fraud-detection","last_synced_at":"2025-07-24T17:31:33.327Z","repository":{"id":15829342,"uuid":"78837233","full_name":"Nexmo/node-verify-fraud-detection","owner":"Nexmo","description":"Fraud Detection using Node and the Nexmo Verify and Number Insight APIs","archived":false,"fork":false,"pushed_at":"2025-03-31T08:06:27.000Z","size":1281,"stargazers_count":1,"open_issues_count":7,"forks_count":3,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-05-22T22:06:19.003Z","etag":null,"topics":["tutorial"],"latest_commit_sha":null,"homepage":"https://developer.nexmo.com/tutorials/fraud-scoring-and-phone-number-verification","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nexmo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-13T09:57:16.000Z","updated_at":"2023-03-16T21:31:30.000Z","dependencies_parsed_at":"2025-03-11T05:19:52.409Z","dependency_job_id":"70eb826e-77c0-4eae-872e-b68c5a7055e1","html_url":"https://github.com/Nexmo/node-verify-fraud-detection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nexmo/node-verify-fraud-detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nexmo%2Fnode-verify-fraud-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nexmo%2Fnode-verify-fraud-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nexmo%2Fnode-verify-fraud-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nexmo%2Fnode-verify-fraud-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nexmo","download_url":"https://codeload.github.com/Nexmo/node-verify-fraud-detection/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nexmo%2Fnode-verify-fraud-detection/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266878570,"owners_count":23999619,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["tutorial"],"created_at":"2024-12-01T01:15:23.951Z","updated_at":"2025-07-24T17:31:32.769Z","avatar_url":"https://github.com/Nexmo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fraud Detection using Node and the Nexmo Verify and Number Insight APIs\n\nThis app used the Nexmo Number Insight and Verify APIs to demonstrate how to detect and prevent fraudulent phone numbers by comparing the IP of the request to the country of the number's current location.\n\n## Prerequisites\n\nYou will need:\n\n* A [free Nexmo account](https://dashboard.nexmo.com/sign-up)\n\n## Installation\n\n```sh\ngit clone https://github.com/nexmo/node-verify-fraud-detection.git\ncd node-verify-fraud-detection\nnpm install\n```\n\n## Setup\n\nRename the config file:\n\n```sh\nmv .env.example .env\n```\n\nFill in the values in `.env` as appropriate.\n\nWe have provided an `IP` environment variable so you can emulate a different location that the request comes from.\n\n### Running the App\n\n```sh\nnpm start\n```\n\nThe application should be available on \u003chttp://localhost:5000\u003e.\n\n### Using the App\n\nRegister a number with the application in international format. For example for a UK number: `44555444333`\n\nIf your IP is in the same country (or simulated to be) as your number, your number should be accepted directly. If it is not, it will be sent an SMS code to confirm that you indeed own this phone number.\n\nTo simulate a different location change the IP in the `.env` file to an IP in a different location and restart the server.\n\n## License\n\nThis product includes GeoLite2 data created by MaxMind, available from\n[http://www.maxmind.com](http://www.maxmind.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexmo%2Fnode-verify-fraud-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnexmo%2Fnode-verify-fraud-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexmo%2Fnode-verify-fraud-detection/lists"}