1.4.6 • Published 4 years ago

@5app/opengraph-scraper v1.4.6

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

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: 
1.4.6

4 years ago

1.4.5

4 years ago

1.4.4

4 years ago

1.4.3

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago