Skip to main content

Runtime exports

  • ALLOWED_SCHEMES
  • RESOURCE_DOMAIN_LIMIT
  • isSafeImageSrc
  • isSafeUrl
  • looksLikeImageUrl
  • matchesResourceDomain
  • parseResourceDomain
  • parseResourceDomains
  • validateWidgetPayload
Type-only exports are not visible at runtime; see the package README and the bundled declarations.