JSPM

compare-urls

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 23518
  • Score
    100M100P100Q179925F
  • License MIT

Compare URLs by first normalizing them

Package Exports

  • compare-urls

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (compare-urls) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

compare-urls Build Status

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