@itsfuad/link-metadata

Parses metadata like Title, Description and social media image


Keywords
link-metadata, metadata-parser, metadata, link, nodejs
License
ISC
Install
npm install @itsfuad/link-metadata@1.0.2

Documentation

Metadata parser

Parses metadata from link for social media preview.

Use:

import { getLinkMetadata } from 'link-metadata';

const message = 'Visit page: https://facebook.com/artist.brother';

const response = getLinkMetadata(message); 

/*
Output:
{
    success: true,
    data: {
        title,
        description,
        image,
        url,
    },
};
*/