Skip to content
This repository was archived by the owner on Mar 16, 2021. It is now read-only.

Repository files navigation

Opengraph Scraper

Given a URL will return meta information about the page.

e.g.

Usage:

// Import
const opengraphScraper = require('@5app/opengraph-scraper');

// Set a timeout in ms
const timeout = 3000;

// Url
const url = 'https://twitter.com/';

// Returns object
const {title, description} = await opengraphScraper(url, timeout);

console.log('Title: ', title, '- Description: ', description);

// Title: 

About

A utility for scraping public urls for metadata

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Generated from 5app/package-template