node-link-preview

0.0.2 • Public • Published

LinkPreview

Library to return title, description and highlighted image of a site to generate a link preview.
const LinkPreview = require('link-preview')

LinkPreview.search('www.google.com', (data) => {
  console.log(data); // { img: '', title: '', description: '', link: ''}
}, () => {
  console.log('Error');
});

Readme

Keywords

Package Sidebar

Install

npm i node-link-preview

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • feijor