cat-bookmarker/assets/node_modules/dns-equal
Nat 96939b7aee
Clean up repo and update deps
2024-03-10 11:52:04 -07:00
..
.npmignore Clean up repo and update deps 2024-03-10 11:52:04 -07:00
.travis.yml Clean up repo and update deps 2024-03-10 11:52:04 -07:00
LICENSE Clean up repo and update deps 2024-03-10 11:52:04 -07:00
README.md Clean up repo and update deps 2024-03-10 11:52:04 -07:00
index.js Clean up repo and update deps 2024-03-10 11:52:04 -07:00
package.json Clean up repo and update deps 2024-03-10 11:52:04 -07:00
test.js Clean up repo and update deps 2024-03-10 11:52:04 -07:00

README.md

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