# @5app/opengraph-scraper

> Opengraph scraper

Latest version **1.4.6** (published 2020-08-27) · ISC license · 0 weekly downloads

## Install

```sh
npm install @5app/opengraph-scraper
pnpm add @5app/opengraph-scraper
yarn add @5app/opengraph-scraper
bun add @5app/opengraph-scraper
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.4.6 |
| Published | 2020-08-27 |
| First published | 2019-11-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 7.3 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | 5app-bot, adodson, charles5app, diondiondion, ikhemissi |

## Links

- npm: https://www.npmjs.com/package/@5app/opengraph-scraper
- Repository: https://github.com/5app/opengraph-scraper
- Homepage: https://github.com/5app/opengraph-scraper#readme
- Issues: https://github.com/5app/opengraph-scraper/issues
- npm.io page: https://npm.io/package/@5app/opengraph-scraper

## Dependencies (4)

- [request](https://npm.io/package/request.md) ^2.88.2
- [metascraper](https://npm.io/package/metascraper.md) ^5.14.4
- [metascraper-title](https://npm.io/package/metascraper-title.md) ^5.14.4
- [metascraper-description](https://npm.io/package/metascraper-description.md) ^5.14.4

## Recent versions

- 1.4.6 (latest) — 2020-08-27
- 1.4.5 — 2020-08-21
- 1.4.4 — 2020-03-10
- 1.4.3 — 2020-03-10
- 1.4.2 — 2020-01-22
- 1.4.1 — 2019-11-13
- 1.4.0 — 2019-11-13
- 1.3.2 — 2019-11-13
- 1.3.1 — 2019-11-11
- 1.3.0 — 2019-11-07
- 1.2.0 — 2019-11-07
- 1.1.0 — 2019-11-07
- 1.0.1 — 2019-11-06

## README

# Opengraph Scraper

Given a URL will return meta information about the page.

e.g. 

Usage:
```typescript
// 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: 
```

---
_Source: https://npm.io/package/@5app/opengraph-scraper · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
