function instanceHost
instanceHost(issuer: string): string

Returns the host of the instance at issuer, with its port if it has one: the part after the @ of its users' handles here (alice@music.example).

Parameters

issuer: string

Return Type

string

Usage

import { instanceHost } from "shared/federation.ts";