pageinfo

Return information about given HTML document

This module returns information about an HTML document located at the given URI. Currently the following information is available:

  • Title
  • Images (that meet size criteria)

Usage

    var pageinfo = require("pageinfo"),
 
    pageinfo("http://en.wikipedia.org/wiki/Fish", function(errinfo) {
        if (err) throw err;
        console.log(title)
        console.log(images.length, "images found");
    });

Authors