0.1.0 • Published 7 years ago

domain-verifier v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Domain Verifier

Verify the ownership of a domain name.

Installation

$ npm install domain-verifier

Usage

const verifier = require('domain-verifier');

// Only DNS TXT domain verification is supported atm.
verifier.dnstxt('example.com', 'random identification token', (err, verified) => {
  if (err) throw err;

  console.log(`result: ${verified}`);
});

TODO

Support other verification methods. Some options:

  • Download file on domain at specific path with specific contents
  • Meta tag?
  • ?