508 B
508 B
compare-urls
Compare URLs by first normalizing them
Install
$ npm install compare-urls
Usage
const compareUrls = require('compare-urls');
compareUrls('HTTP://sindresorhus.com/?b=b&a=a', 'sindresorhus.com/?a=a&b=b');
//=> true
License
MIT © Sindre Sorhus