Socket
Book a DemoInstallSign in
Socket

dns-equal

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dns-equal

Compare DNS record strings for equality

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
1.8M
-10.22%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

dns

FAQs

Package last updated on 10 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts