@realfavicongenerator/check-favicon
Version:
Check the favicon of a website
5 lines (4 loc) • 312 B
TypeScript
import { FaviconReport, Fetcher } from "./types";
import { HTMLElement } from 'node-html-parser';
export declare const extractPageTitle: (head: HTMLElement | null) => string | undefined;
export declare const checkFavicon: (baseUrl: string, head: HTMLElement | null, fetcher?: Fetcher) => Promise<FaviconReport>;