5.0.1 • Published 3 years ago

rog-plugin-image v5.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

rog

Retrieve open graph data by passing URL.

Build Status lerna

Install

Install rog and its plugins.

$ npm install rog
$ npm install rog-plugin-title

Usage

const rog = require('rog');

rog('http://google.com', {}, {
  title: require('rog-plugin-title')
}).then(data => {
  console.log(data.title); // => <meta property="og:title" content="...">
}).catch(error => {
  console.error(error);
});

Packages

License

MIT © Shogo Sensui

5.0.1

3 years ago

5.0.0

3 years ago

4.0.0

4 years ago

3.0.1

4 years ago

2.0.0

5 years ago

1.0.0

8 years ago