node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »


PageMunch - Link Unfurling


PageMunch is a simple API backed by an intelligent web crawler that lets you extract rich previews, entities and images from any url. Whether you want to grab the best title, description and image for a page, prices, authorship, enable video embeds or more.


$ npm install pagemunch


We recommend storing your API key in an environment variable, for security and to enable using different keys in your staging, development and production environments.

Callbacks / ES5

const PageMunch = require('pagemunch');
const pm = new PageMunch(process.env.PAGEMUNCH_API_KEY);
pm.extract('', function(err, data) {
  if (err) throw err;

Promises / ES6

import PageMunch from 'pagemunch';
const pm = new PageMunch(process.env.PAGEMUNCH_API_KEY);
const data = await pm.extract('');

More Details

For more information, libraries and documentation check out the PageMunch Documentation


Copyright PageMunch 2017.