dns-equal
Compare DNS record strings for equality
Last updated 9 years ago by watson .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install dns-equal 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (9 years ago)

1 Versions

  • 1.0.0                                ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |