sindresorhus / compare-urls

Compare URLs by first normalizing them

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Compare URLs by first normalizing them

License:MIT License


Languages

Language:JavaScript 100.0%