@esm2cjs/normalize-url
Normalize a URL. This is a fork of sindresorhus/normalize-url, but with CommonJS support.
url-normalize
Normalize URLs to a standardized form. HTTPS by default, flexible configuration, custom protocols, domain extraction, humazing URL, and punycode support. Both CJS & ESM modules available.