I figured out few bothering situation: with / without last slash, url with query params ...
and my solution is using package called normalize-url: https://github.com/sindresorhus/normalize-url,
it has a related package called compare-urls: https://github.com/sindresorhus/compare-urls
Comment
Thank you!!
Parent comment
I figured out few bothering situation: with / without last slash, url with query params ... and my solution is using package called normalize-url: https://github.com/sindresorhus/normalize-url, it has a related package called compare-urls: https://github.com/sindresorhus/compare-urls