WUT_Computer_Science/EGUI/lab3/front/node_modules/dns-equal
2022-06-15 03:02:51 +02:00
..
.npmignore chore 2022-06-15 03:02:51 +02:00
.travis.yml chore 2022-06-15 03:02:51 +02:00
index.js chore 2022-06-15 03:02:51 +02:00
LICENSE chore 2022-06-15 03:02:51 +02:00
package.json chore 2022-06-15 03:02:51 +02:00
README.md chore 2022-06-15 03:02:51 +02:00
test.js chore 2022-06-15 03:02:51 +02:00

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