sindresorhus/
Normalize a URL
USD raised
Recent activities
Normalize data URLs
SyntaxError: Invalid regular expression: invalid group specifier name
Error result when url using custom protocol in browser
sortQueryParameters encodes the query string
Must use import to load ES Module
🚨 Potential Security Vulnerability
Support custom protocols
The type definition of removeDirectoryIndex is not correct
Please tag version 4.5.1 on Github
Add `package.json` to `exports`
Strip ftp:// and ssh://
+
Would you accept backport fixes to 6.x?
Url pathname is getting encoded after normalization
Error using react testing library
`removeQueryParameters` fails in Firefox content scripts: Error `URLSearchParams.keys()` is not a method
Fix Safari compatibility for version 6.1.0
Add `removePort` option
Suggestion: keepQueryParameters
removeSingleSlash should default to false
No support for "tel:xxxx", "mailto:xxx" like urls
Is there an (efficient) way to extract the domain only?
Is Safari supported?
stripAuthentication does not work as documented
Incorrect URL returned when protocol is missing
(suggestion) Remove sub directories
Decoding entire pathname leads to edge case issues
Invalid normalization
Semicolons are erroneously encoded in query params
Option to keep trailing slash in all cases
Implement more normalizations
Normalize domain names to lowercase
Not an issue: Add it to an utility library (like lodash, underscore, etc.)
[v4] searchParams.sort is not a function
URL is not defined error
homograph attack prevention by toASCII option
Stripping www. does not work when there is a subdomain in URL
Fails to strip both hash and trailing slashes
Switch from using `new URL` to `url.parse`
Equal sign is added to end of empty query string variable
urlString.trim() is not a function
Regex for removal of duplicate slashes not preceded by a protocol is too strict
Strip WWW doesn't work on some domains
Throwing error on given `view-source:` url string
Unexpected normalization: a.b.com gets protocol
Amazon image links corrupted after normalization
Require TLD
foo:bar can not be normalized?
How do I get non stripped urls from given text
Strip text fragment option
Strip query parameters / search
Backport security fixes to version 2.x
Correction to security advisory (ReDos)
Websocket URLs
Can I use version 7 in the browser?
Semicolon in the hostname is misinterpreted as a valid hostname on Firefox
This lib crashes on mobile Safari or Chrome in iOS
Not working properly on Cloudflare Workers
© 2019 BoostIO, Inc.