Options
All
  • Public
  • Public/Protected
  • All
Menu

@au5ton/use-atom-feed

Index

Type aliases

AtomLinkRelType

AtomLinkRelType: "alternate" | "enclosure" | "related" | "self" | "via"

AtomTextType

AtomTextType: "text" | "html" | "xhtml"

Functions

parseAtomFeed

useAtomFeed

  • useAtomFeed(feedURL: string, options?: SWRConfiguration): Response<AtomFeed>
  • The React hook used for reading the Atom feed.

    Parameters

    Returns Response<AtomFeed>

    The decoded Atom feed or any errors seen along the way

Generated using TypeDoc