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

Webfont

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

Metadata describing a family of fonts.

interface Webfont {
axes?: Axis[];
category?: string;
colorCapabilities?: string[];
family?: string;
files?: {
[key: string]: string;
}
;
kind?: string;
lastModified?: string;
menu?: string;
subsets?: string[];
variants?: string[];
version?: string;
}

§Properties

§
axes?: Axis[]
[src]

Axis for variable fonts.

§
category?: string
[src]

The category of the font.

§
colorCapabilities?: string[]
[src]

The color format(s) available for this family.

§
family?: string
[src]

The name of the font.

§
files?: {
[key: string]: string;
}
[src]

The font files (with all supported scripts) for each one of the available variants, as a key : value map.

§
kind?: string
[src]

This kind represents a webfont object in the webfonts service.

§
lastModified?: string
[src]

The date (format "yyyy-MM-dd") the font was modified for the last time.

§
subsets?: string[]
[src]

The scripts supported by the font.

§
variants?: string[]
[src]

The available variants for the font.

§
version?: string
[src]

The font version.