• Split a network address of the form "host:port" into host and port.

    Parameters

    • hostport: string

    Returns { host: string; port?: number }