JSPM

compare-urls

4.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 37061
  • Score
    100M100P100Q192123F
  • License MIT

Compare URLs by first normalizing them

Package Exports

  • compare-urls

Readme

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