# domain-verification

> This module help you to verify domain ownership.

Latest version **1.0.5** (published 2018-07-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install domain-verification
pnpm add domain-verification
yarn add domain-verification
bun add domain-verification
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2018-07-09 |
| First published | 2018-07-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 6.5 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Rupam Biswal |
| Maintainers | chaia_kaapi |
| Keywords | metadata, meta, tags, html, parser, txt, open graph |

## Links

- npm: https://www.npmjs.com/package/domain-verification
- Repository: https://github.com/SpringRole/domain-verification
- Homepage: https://github.com/SpringRole/domain-verification#readme
- Issues: https://github.com/SpringRole/domain-verification/issues
- npm.io page: https://npm.io/package/domain-verification

## Dependencies (4)

- [request](https://npm.io/package/request.md) ^2.87.0
- [bluebird](https://npm.io/package/bluebird.md) ^3.5.1
- [getdomain](https://npm.io/package/getdomain.md) ^1.3.0
- [metafetch](https://npm.io/package/metafetch.md) ^1.8.1

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2018-07-09
- 1.0.4 — 2018-07-09
- 1.0.3 — 2018-07-09
- 1.0.2 — 2018-07-09
- 1.0.1 — 2018-07-09
- 1.0.0 — 2018-07-09

## README

# domain-verification
This module help you to verify domain ownership.

## Install

    $ npm install domain-verification

## Usage

    consta domainVerification = require('domain-verification');
    domainVerification.html(domain_url,domain_html_name,hash_value);
    domainVerification.txt(domain_url,domain_key,domain_value);
    domainVerification.metatag(domain_url,domain_key,domain_value);
    domainVerification.all(domain_url,domain_key,domain_value,domain_html_name,hash_value);

    We are supporting Promise. 
    
## 1. html:
    
    Verify by uploading a specific HTML to a given domain.

  ### Parameters:
  * domain_url: The URL where the html file can be formed (http://example.com).
  * domain_html_name: The name of the html file expected at 'domain_url'
  * hash_value: The value in the html file body
    
  ### Asssumptions:
  * The domain to be verified has the HTML file specified in the url specified by 'domain_url'.
  * The filename is of the form: 'domain_html_name'.html, eg. 'domainVerified-1233ask.html'

## 2. txt:
    Verify by Txt in the DNS of the domain:
    
### Parameters:
* domain_url: The URL of the domain that has the Txt file added
* domain_key: The Txt key
* domain_value: The Txt value

## 3. metatag:
    Verify by metatag information of  a domain:
    
  ### Parameters:
  * domain_url: The URL of the domain containing the metatag
  * domain_key: The meta tag key/name
  * domain_value: The value of the meta tag key/name

## 3. all:
    This methods call all the above 3 function and give you the result:

---
_Source: https://npm.io/package/domain-verification · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
