paoloose/URI Parser
Parse a Uniform Resource Identifier string in your GitHub Actions. Compatible with RFC 3986
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| uri | URI string to parse | yes | — |
Outputs
| name | description |
|---|---|
| decodedUri | The decoded URI string. Equivalent to JavaScript decodeURI(uri) |
| scheme | Scheme component of the URI. Does not include the colon (:). |
| authority | Authority component of the URI. |
| username | Username component of the URI. |
| password | Password component of the URI. |
| host | Host component of the URI. Includes the port if specified. |
| hostname | Hostname component of the URI. Does not include the port. |
| port | Port component of the URI. |
| path | Path component of the URI. Does not include the leading slash (/). |
| decodedPath | Decoded Path component of the URI. Equivalent to JavaScript decodeURIComponent(path). Does not include the leading slash (/). |
| query | Query component of the URI. Does not include the question mark (?). |
| fragment | Fragment component of the URI. Does not include the hash (#). |