Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

WebfontsListOptions

import type { WebfontsListOptions } from "https://googleapis.deno.dev/v1/webfonts:v1.ts";

Additional options for WebFonts#webfontsList.

interface WebfontsListOptions {
capability?: "CAPABILITY_UNSPECIFIED" | "WOFF2" | "VF";
family?: string;
sort?:
| "SORT_UNDEFINED"
| "ALPHA"
| "DATE"
| "POPULARITY"
| "STYLE"
| "TRENDING";
subset?: string;
}

§Properties

§
capability?: "CAPABILITY_UNSPECIFIED" | "WOFF2" | "VF"
[src]

Controls the font urls in Webfont.files, by default, static ttf fonts are sent.

§
family?: string
[src]

Filters by Webfont.family, using literal match. If not set, returns all families

§
sort?: "SORT_UNDEFINED" | "ALPHA" | "DATE" | "POPULARITY" | "STYLE" | "TRENDING"
[src]

Enables sorting of the list.

§
subset?: string
[src]

Filters by Webfont.subset, if subset is found in Webfont.subsets. If not set, returns all families.