method TldUtils.parse
TldUtils.parse(hostname: string): ParsedHost

Parses a hostname and returns detailed information. This is the main replacement for tldts.parse().

Parameters

hostname: string

Return Type

Usage

import { TldUtils } from ".";