# dns-equal

> Compare DNS record strings for equality

Latest version **1.0.0** (published 2016-01-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install dns-equal
pnpm add dns-equal
yarn add dns-equal
bun add dns-equal
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-01-10 |
| First published | 2016-01-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9 |
| Author | Thomas Watson Steen |
| Maintainers | watson |
| Keywords | dns, compare, comparing, equal, equality, match, downcase, lowercase, case-insensitive |

## Links

- npm: https://www.npmjs.com/package/dns-equal
- Repository: https://github.com/watson/dns-equal
- Homepage: https://github.com/watson/dns-equal#readme
- Issues: https://github.com/watson/dns-equal/issues
- npm.io page: https://npm.io/package/dns-equal

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-01-10

## README

# dns-equal

Compare DNS record strings for equality. Enforces [RFC
1035](https://tools.ietf.org/html/rfc1035) domain comparison.

[![Build status](https://travis-ci.org/watson/dns-equal.svg?branch=master)](https://travis-ci.org/watson/dns-equal)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](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

---
_Source: https://npm.io/package/dns-equal · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
