Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nescalante/url-compare
- Owner: nescalante
- License: mit
- Created: 2015-06-05T18:44:46.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-01T01:30:01.000Z (over 7 years ago)
- Last Synced: 2024-11-08T19:55:17.398Z (about 1 month ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: License
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