function parseEmbedHosts
parseEmbedHosts(input: string): string[]

Parse a comma-separated list of hosts into trimmed, lowercased entries. Filters out empty strings from trailing commas etc.

Parameters

input: string

Return Type

string[]

Usage

import { parseEmbedHosts } from "doc.ts";