dns-equal

WebJar for dns-equal

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

dns-equal
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

dns-equal
WebJar for dns-equal
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/watson/dns-equal

Download dns-equal

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/dns-equal/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>dns-equal</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/dns-equal/
implementation 'org.webjars.npm:dns-equal:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/dns-equal/
implementation ("org.webjars.npm:dns-equal:1.0.0")
'org.webjars.npm:dns-equal:jar:1.0.0'
<dependency org="org.webjars.npm" name="dns-equal" rev="1.0.0">
  <artifact name="dns-equal" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='dns-equal', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "dns-equal" % "1.0.0"
[org.webjars.npm/dns-equal "1.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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

Versions

Version
1.0.0