gatelineAPI reference

An origin URL read for what it names: the host, and the path under it.

interface ParsedOrigin {
    host: string;
    path: string[];
}

Properties

Properties

host: string

Lowercased, with any user and port removed.

path: string[]

The path's segments, case kept, with a trailing .git dropped. At least one.