{"id":19519626,"url":"https://github.com/the-best-codes/detecttor","last_synced_at":"2025-07-20T07:07:15.952Z","repository":{"id":257810105,"uuid":"866830808","full_name":"The-Best-Codes/detecttor","owner":"The-Best-Codes","description":"Detect TOR Browser, server side","archived":false,"fork":false,"pushed_at":"2025-03-29T18:04:34.000Z","size":74,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T18:34:40.179Z","etag":null,"topics":["address","browser","detection","detector","ip","security","tor"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/The-Best-Codes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-03T00:18:04.000Z","updated_at":"2025-03-29T17:54:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"eaf7c5ff-eb6f-453a-9e93-aa3586f4615a","html_url":"https://github.com/The-Best-Codes/detecttor","commit_stats":null,"previous_names":["the-best-codes/detecttor"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Best-Codes%2Fdetecttor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Best-Codes%2Fdetecttor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Best-Codes%2Fdetecttor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Best-Codes%2Fdetecttor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/The-Best-Codes","download_url":"https://codeload.github.com/The-Best-Codes/detecttor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250953472,"owners_count":21513363,"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":["address","browser","detection","detector","ip","security","tor"],"created_at":"2024-11-11T00:19:26.645Z","updated_at":"2025-04-26T07:31:19.242Z","avatar_url":"https://github.com/The-Best-Codes.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DetectTor\n\n\u003cimg alt=\"DetectTor Logo\" src=\"https://github.com/user-attachments/assets/73719a06-9b2a-4f81-a900-3214a7208739\" for=\"cover\" width=\"256\" /\u003e\n\nDetectTor is a simple npm library to detect if a request originated from Tor Browser.\nDetectTor uses Tor's exit node list to determine if the request is a Tor exit node.\n\n## Usage\n\nInstall the package:\n\n```bash\nnpm install @bestcodes/detecttor\n```\n\nImport and use a function:\n\n```typescript\nimport isIpTor, { amIUsingTor } from \"@bestcodes/detecttor\";\n\nisIpTor(\"89.0.142.86\")\n  .then((result) =\u003e {\n    console.log(result);\n  })\n  .catch((error) =\u003e {\n    console.error(error);\n  });\n\namIUsingTor()\n  .then((result) =\u003e {\n    console.log(result);\n  })\n  .catch((error) =\u003e {\n    console.error(error);\n  });\n```\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-best-codes%2Fdetecttor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe-best-codes%2Fdetecttor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-best-codes%2Fdetecttor/lists"}