@5app/opengraph-scraper
Opengraph scraper
Last updated 3 months ago by 5app-bot .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @5app/opengraph-scraper 
SYNC missed versions from official npm registry.

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: 

Current Tags

  • 1.4.4                                ...           latest (3 months ago)

11 Versions

  • 1.4.4                                ...           3 months ago
  • 1.4.3                                ...           3 months ago
  • 1.4.2                                ...           4 months ago
  • 1.4.1                                ...           7 months ago
  • 1.4.0                                ...           7 months ago
  • 1.3.2                                ...           7 months ago
  • 1.3.1                                ...           7 months ago
  • 1.3.0                                ...           7 months ago
  • 1.2.0                                ...           7 months ago
  • 1.1.0                                ...           7 months ago
  • 1.0.1                                ...           7 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 11
Last Month 33
Dependencies (4)
Dev Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |