compare-urls Compare URLs by first normalizing them Install npm install compare-urls Usage import compareUrls from 'compare-urls'; compareUrls('HTTPS://sindresorhus.com/?b=b&a=a', 'sindresorhus.com/?a=a&b=b'); //=> true