open-graph-scraper-edge
Version:
Node.js scraper module for Open Graph and Twitter Card info - refactored for Edge environments
13 lines (12 loc) • 364 B
TypeScript
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: any;
response: any;
}>;