source: trip-planner-front/node_modules/dns-equal/README.md@ 571e0df

Last change on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 654 bytes
Line 
1# dns-equal
2
3Compare DNS record strings for equality. Enforces [RFC
41035](https://tools.ietf.org/html/rfc1035) domain comparison.
5
6[![Build status](https://travis-ci.org/watson/dns-equal.svg?branch=master)](https://travis-ci.org/watson/dns-equal)
7[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)
8
9## Installation
10
11```
12npm install dns-equal --save
13```
14
15## Usage
16
17```js
18var dnsEqual = require('dns-equal')
19
20var domain1 = 'Example.COM'
21var domain2 = 'example.com'
22
23if (dnsEqual(domain1, domain2)) {
24 console.log('The two domains are the same')
25}
26```
27
28## License
29
30MIT
Note: See TracBrowser for help on using the repository browser.