1.1.1 • Published 3 years ago

ogp-getter v1.1.1

Weekly downloads
2
License
ISC
Repository
github
Last release
3 years ago

What is this?

A module that observes ogp info on passed url.

Installation

npm install ogp-getter

How to use

JavaScript

var ogpGetter = require("ogp-getter")

ogpGetter.getOGP("https://some.host/url").then(data => console.log(data))

TypeScript

import { getOGP } from "ogp-getter";

const run = async () => {
  const ogpInfo = await getOGP("https://some.host/url");
  console.log(ogpInfo)
}

run();
1.1.1

3 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago