GT2/Ejectable/node_modules/compare-urls/readme.md

508 B

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