06c1a5835d | ||
---|---|---|
.. | ||
index.js | ||
license | ||
package.json | ||
readme.md |
readme.md
compare-urls
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