(url: string): string import {format_url} from '@fuzdev/fuz_util/url.js'; Formats a URL by removing 'https://', 'www.', and trailing slashes. Notably it does not remove 'http://', so the user can see that it's insecure.
url
type
stringreturns
string