An Open Graph implementation for Node.js.

npm install open-graph
9 downloads in the last day
35 downloads in the last week
105 downloads in the last month

Open Graph for Node.js

An Open Graph implementation for Node.js. Simple to use; give it a URL and it'll give you the open graph meta properties


npm install open-graph


var og = require('open-graph');

var url = "";

og(url, function(err, meta){


  title: 'OG Testing',
  type: 'website',
  url: '',
  site_name: 'irrelavent',
  description: 'This is a test bed for Open Graph protocol.',
        url: '',
     width: '100',
     height: '100'


  1. Better parser
    Meta data should be parsed into pure JSON and arrays should be handled at root nodes, not leaf nodes
  2. Better data types
    Convert properties to numbers, etc.
  3. Fallback data
    If Open Graph data isn't present, scrap img elements and document titles off the page.
npm loves you