Skip to content

Welshman Docs / @welshman/lib / displayUrl

Function: displayUrl() ​

displayUrl(url): string

Defined in: packages/lib/src/Tools.ts:335

Formats URL for display by removing protocol, www, and trailing slash

Parameters ​

url ​

string

URL to format

Returns ​

string

Formatted URL