Socket
Socket
Sign inDemoInstall

dns-equal

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Protect your apps from supply chain attacks

Install

dns-equal

Compare DNS record strings for equality

    1.0.0latest
    GitHub
    npm

Version published
Maintainers
1
Weekly downloads
7,066,600
decreased by-15.45%

Weekly downloads

Readme

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

FAQs

Last updated on 10 Jan 2016

Did you know?

Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc