Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nescalante/url-compare

Url comparisons for humans
https://github.com/nescalante/url-compare

Last synced: 20 days ago
JSON representation

Url comparisons for humans

Awesome Lists containing this project

README

        

# url-compare [![Build Status](https://travis-ci.org/nescalante/url-compare.svg?branch=master)](https://travis-ci.org/nescalante/url-compare) [![Greenkeeper badge](https://badges.greenkeeper.io/nescalante/url-compare.svg)](https://greenkeeper.io/)

> Url comparisons for humans

## Install

Using `npm`

```
npm install url-compare
```

## Usage

```js
var compare = require('url-compare');
compare('http://example.com/route', 'http://example.com:80/route'); // true
compare('http://example.com:123?a=1&b=2', 'http://example.com:123?b=2&a=1'); // true
compare('https://example.com', 'https://example.com:443'); // true

```

## License

MIT