Skip to content
HomePagesHomePages template kit

LINK_STRATEGIES

How a link provider's metadata (title, thumbnail, duration, …) can be fetched for a pasted link, or `"none"` when the provider publishes nothing fetchable.

How a link provider’s metadata (title, thumbnail, duration, …) can be fetched for a pasted link, or "none" when the provider publishes nothing fetchable.

Import from @homepages/template-kit.

const LINK_STRATEGIES: readonly ["oembed", "api", "opengraph", "none"]
  • A property of the PROVIDER, never of one link or one fetch attempt: "none" means “asking would be pointless,” not “the ask failed.”