url-compare

Compare URIs semantically

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
url-compare
100.1.38 years ago8 years agoMinified + gzip package size for url-compare in KB

Readme

url-compare Build Status
Url comparisons for humans

Install

Using npm
npm install url-compare

Usage

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