summaryrefslogtreecommitdiff
path: root/includes/external/addressbook/node_modules/open-graph-scraper/dist/lib/extract.d.ts
blob: 1b5cce7397a176ba49cfa4c7b596e106acf7389f (plain)
1
2
3
4
5
6
7
8
9
10
import type { OgObject, OpenGraphScraperOptions } from './types';
/**
 * extract all of the meta tags needed for ogs
 *
 * @param {sting} body - the body of the got request
 * @param {object} options - options for ogs
 * @return {object} object with ogs results
 *
 */
export default function extractMetaTags(body: string, options: OpenGraphScraperOptions, rawBody: any): OgObject;