Needful Program Management
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

dns-equal

1.0.0 • Public • Published

dns-equal

Compare DNS record strings for equality. Enforces RFC 1035 domain comparison.

Build status js-standard-style

Installation

npm install dns-equal --save

Usage

var dnsEqual = require('dns-equal')
 
var domain1 = 'Example.COM'
var domain2 = 'example.com'
 
if (dnsEqual(domain1, domain2)) {
  console.log('The two domains are the same')
}

License

MIT

install

npm i dns-equal

Downloadsweekly downloads

4,032,440

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability