open-graph-scraper
Version:
Node.js scraper module for Open Graph and Twitter Card info
15 lines (14 loc) • 300 B
TypeScript
import type { OgObjectInternal } from './types';
type Fields = {
multiple: boolean;
property: string;
fieldName: keyof OgObjectInternal;
}[];
/**
* array of meta tags ogs is looking for
*
* @return {array} array of meta tags
*
*/
declare const fields: Fields;
export default fields;