UNPKG

open-graph-scraper

Version:

Node.js scraper module for Open Graph and Twitter Card info

13 lines (12 loc) 389 B
import type { OpenGraphScraperOptions } from './types'; /** * performs the fetch request and formats the body for ogs * * @param {object} options - options for ogs * @return {object} formatted request body and response * */ export default function requestAndResultsFormatter(options: OpenGraphScraperOptions): Promise<{ body: string; response: import("undici").Response; }>;