https://github.com/nescalante/url-compare
Url comparisons for humans
https://github.com/nescalante/url-compare
Last synced: 4 months 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 (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-01T01:30:01.000Z (almost 8 years ago)
- Last Synced: 2025-03-01T08:11:45.847Z (5 months 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 [](https://travis-ci.org/nescalante/url-compare) [](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