paoloose/URI Parser

Parse a Uniform Resource Identifier string in your GitHub Actions. Compatible with RFC 3986

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
uriURI string to parseyes
namedescription
decodedUriThe decoded URI string. Equivalent to JavaScript decodeURI(uri)
schemeScheme component of the URI. Does not include the colon (:).
authorityAuthority component of the URI.
usernameUsername component of the URI.
passwordPassword component of the URI.
hostHost component of the URI. Includes the port if specified.
hostnameHostname component of the URI. Does not include the port.
portPort component of the URI.
pathPath component of the URI. Does not include the leading slash (/).
decodedPathDecoded Path component of the URI. Equivalent to JavaScript decodeURIComponent(path). Does not include the leading slash (/).
queryQuery component of the URI. Does not include the question mark (?).
fragmentFragment component of the URI. Does not include the hash (#).