page-info

A simple page info taker.

npm install page-info
10 downloads in the last week
20 downloads in the last month

page-info

A simple page info taker.

Installation

npm install page-info

Features

  • follow 301 302 redirection

Quick Start

var pageInfo = require('page-info');

pageInfo('google.com', function (page) {

  log(page.icon())
  log(page.favicon())
  log(page.shortcutIcon())

  log(page.title())
  log(page.description())
  log(page.bodyText())
  log(page.firstDivText())
  log(page.firstParagraphText())

  log(page.thumbnail())
  log(page.firstImg())

});

API

License

MIT

npm loves you