# dns-equal Compare DNS record strings for equality. Enforces [RFC 1035](https://tools.ietf.org/html/rfc1035) domain comparison. [](https://travis-ci.org/watson/dns-equal) [](https://github.com/feross/standard) ## Installation ``` npm install dns-equal --save ``` ## Usage ```js 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
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.npmignore | File | 13 B | 0644 |
|
.travis.yml | File | 57 B | 0644 |
|
LICENSE | File | 1.06 KB | 0644 |
|
README.md | File | 654 B | 0644 |
|
index.js | File | 196 B | 0644 |
|
package.json | File | 825 B | 0644 |
|
test.js | File | 351 B | 0644 |
|