Magpie HTML - v0.1.3
    Preparing search index...

    Interface ExtractedLink

    Extracted link with metadata.

    Represents a single hyperlink with all relevant attributes. URLs are normalized to absolute format if a base URL is available.

    interface ExtractedLink {
        url: string;
        text?: string;
        title?: string;
        rel?: string;
        target?: string;
        internal?: boolean;
        external?: boolean;
        nofollow?: boolean;
        ugc?: boolean;
        sponsored?: boolean;
        noopener?: boolean;
        noreferrer?: boolean;
    }
    Index

    Properties

    url: string

    Absolute URL of the link

    text?: string

    Anchor text (visible text content)

    title?: string

    Title attribute

    rel?: string

    Rel attribute value

    target?: string

    Target attribute (_blank, _self, etc.)

    internal?: boolean

    Whether this is an internal link (same origin)

    external?: boolean

    Whether this is an external link (different origin)

    nofollow?: boolean

    Whether link has nofollow rel

    ugc?: boolean

    Whether link has ugc (User Generated Content) rel

    sponsored?: boolean

    Whether link has sponsored rel

    noopener?: boolean

    Whether link has noopener rel

    noreferrer?: boolean

    Whether link has noreferrer rel