MCPcopy Create free account
hub / github.com/fontsource/fontsource / STATS_URL

Function STATS_URL

website/app/utils/metadata.server.ts:13–13  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

11 `https://api.fontsource.org/v1/variable/${id}`;
12const AXIS_REGISTRY_URL = 'https://api.fontsource.org/v1/axis-registry';
13const STATS_URL = (id: string) => `https://api.fontsource.org/v1/stats/${id}`;
14
15const getMetadata = async (id: string): Promise<Metadata> =>
16 await fetchApiData<Metadata>(METADATA_URL + id);

Callers 1

getStatsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected