Need private packages and team management tools?Check out npm Teams »

compare-urls

2.0.0 • Public • Published

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

Install

npm i compare-urls

DownloadsWeekly Downloads

2,056

Version

2.0.0

License

MIT

Unpacked Size

2.4 kB

Total Files

4

Last publish

Collaborators

  • avatar