pageinfo
Return information about given HTML document
Last updated 7 years ago by parshap .
Public Domain · Repository · Original npm · Tarball · package.json
$ cnpm install pageinfo 
SYNC missed versions from official npm registry.

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)

GraphicsMagick

This module depends on GraphicsMagick being installed on the system. You can find installation instructions here or use your favorite package manager.

Usage

	var pageinfo = require("pageinfo");

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

Tests

Run tests with npm:

    npm test

Authors

Current Tags

  • 1.0.1                                ...           latest (7 years ago)

2 Versions

  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |