{"id":23711387,"url":"https://github.com/springrole/domain-verification","last_synced_at":"2026-02-07T21:30:18.308Z","repository":{"id":32697004,"uuid":"139958746","full_name":"SpringRole/domain-verification","owner":"SpringRole","description":null,"archived":false,"fork":false,"pushed_at":"2021-12-23T11:55:26.000Z","size":18,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-02-16T17:55:12.770Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/SpringRole.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":"2018-07-06T08:49:06.000Z","updated_at":"2018-07-09T09:47:50.000Z","dependencies_parsed_at":"2022-07-16T04:46:13.619Z","dependency_job_id":null,"html_url":"https://github.com/SpringRole/domain-verification","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringRole%2Fdomain-verification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringRole%2Fdomain-verification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringRole%2Fdomain-verification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringRole%2Fdomain-verification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpringRole","download_url":"https://codeload.github.com/SpringRole/domain-verification/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239800427,"owners_count":19699122,"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":[],"created_at":"2024-12-30T19:49:32.561Z","updated_at":"2026-02-07T21:30:18.257Z","avatar_url":"https://github.com/SpringRole.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# domain-verification\nThis module help you to verify domain ownership.\n\n## Install\n\n    $ npm install domain-verification\n\n## Usage\n\n    consta domainVerification = require('domain-verification');\n    domainVerification.html(domain_url,domain_html_name,hash_value);\n    domainVerification.txt(domain_url,domain_key,domain_value);\n    domainVerification.metatag(domain_url,domain_key,domain_value);\n    domainVerification.all(domain_url,domain_key,domain_value,domain_html_name,hash_value);\n\n    We are supporting Promise. \n    \n## 1. html:\n    \n    Verify by uploading a specific HTML to a given domain.\n\n  ### Parameters:\n  * domain_url: The URL where the html file can be formed (http://example.com).\n  * domain_html_name: The name of the html file expected at 'domain_url'\n  * hash_value: The value in the html file body\n    \n  ### Asssumptions:\n  * The domain to be verified has the HTML file specified in the url specified by 'domain_url'.\n  * The filename is of the form: 'domain_html_name'.html, eg. 'domainVerified-1233ask.html'\n\n## 2. txt:\n    Verify by Txt in the DNS of the domain:\n    \n### Parameters:\n* domain_url: The URL of the domain that has the Txt file added\n* domain_key: The Txt key\n* domain_value: The Txt value\n\n## 3. metatag:\n    Verify by metatag information of  a domain:\n    \n  ### Parameters:\n  * domain_url: The URL of the domain containing the metatag\n  * domain_key: The meta tag key/name\n  * domain_value: The value of the meta tag key/name\n\n## 3. all:\n    This methods call all the above 3 function and give you the result:\n    ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringrole%2Fdomain-verification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspringrole%2Fdomain-verification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringrole%2Fdomain-verification/lists"}