Skip to content

Compare URLs by first normalizing them

License

Notifications You must be signed in to change notification settings

sindresorhus/compare-urls

Repository files navigation

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