fetch-opengraph
Advanced tools
Comparing version 1.0.16 to 1.0.17
{ | ||
"name": "fetch-opengraph", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"description": "Fetch opengraph information from an url", | ||
@@ -27,3 +27,3 @@ "main": "index.js", | ||
"author": { | ||
"name": "Benjamin C. Tehan" | ||
"name": "Purphoros" | ||
}, | ||
@@ -30,0 +30,0 @@ "license": "MIT", |
@@ -38,6 +38,6 @@ # fetch-opengraph | ||
```javascript | ||
import fetchOpengraph from 'fetch-opengraph'; | ||
import { fetch } from 'fetch-opengraph'; | ||
(async () => { | ||
const data = await fetchOpengraph.fetch('https://github.com/purphoros/fetch-opengraph'); | ||
const data = await fetch('https://github.com/purphoros/fetch-opengraph'); | ||
console.log(data) | ||
@@ -44,0 +44,0 @@ })() |
9922