Miss any of our Open RFC calls?Watch the recordings here! »

get-meta

1.0.1 • Public • Published

get-meta

Returns meta information for the given url

Travis BuildStatus

user
let getMeta = require('get-meta');
 
getMeta({ url: 'https://github.com' }).then(console.log)
 
{
  icon: 'https://assets-cdn.github.com/favicon.ico',
  title: 'The world’s leading software development platform · GitHub1clr-code-hosting',
  image: 'https://assets-cdn.github.com/images/search-shortcut-hint.svg',
  charset: 'utf-8',
  name: 'theme-color',
  content: '#1e2327',
  property: 'og:image:height',
  'data-pjax-transient': '',
  value: '/',
  class: 'js-ga-set',
  'http-equiv': 'x-pjax-version',
}

Install

npm i get-meta

DownloadsWeekly Downloads

7

Version

1.0.1

License

MIT

Unpacked Size

3.63 kB

Total Files

6

Last publish

Collaborators

  • avatar