open-graph-scraper
Version:
Node.js scraper module for Open Graph and Twitter Card info
12 lines (11 loc) • 375 B
TypeScript
import type { OgObjectInternal } from './types';
/**
* formats the multiple media values
*
* @param {object} ogObject - the current ogObject
* @param {object} options - options for ogs
* @return {object} object with ogs results with updated media values
*
*/
export declare function mediaSetup(ogObject: OgObjectInternal): OgObjectInternal;
export default mediaSetup;