Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

page-info

2.1.1 • Public • Published

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

Keywords

none

install

npm i page-info

Downloadsweekly downloads

0

version

2.1.1

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability