Riksdagsmonitor Intelligence Platform โ€” API Documentation - v1.0.30
    Preparing search index...
    __test__: {
    ย ย ย ย htmlDecode: (s: string) => string;
    ย ย ย ย stripTags: (fragment: string) => string;
    ย ย ย ย extractMetaContent: (
    ย ย ย ย ย ย ย ย html: string,
    ย ย ย ย ย ย ย ย selectorAttr: "name" | "property",
    ย ย ย ย ย ย ย ย selectorValue: string,
    ย ย ย ย ) => string;
    ย ย ย ย parseAttributes: (tag: string) => Record<string, string>;
    ย ย ย ย REGEXES: { htmlTag: RegExp; title: RegExp; article: RegExp };
    } = ...

    Type Declaration

    • htmlDecode: (s: string) => string
    • stripTags: (fragment: string) => string
    • extractMetaContent: (
      ย ย ย ย html: string,
      ย ย ย ย selectorAttr: "name" | "property",
      ย ย ย ย selectorValue: string,
      ) => string
    • parseAttributes: (tag: string) => Record<string, string>
    • REGEXES: { htmlTag: RegExp; title: RegExp; article: RegExp }