0.0.4 • Published 10 years ago

url-report v0.0.4

Weekly downloads
5
License
-
Repository
github
Last release
10 years ago

url-report

Node library to generate a health report for a URL.

Usage

urlReport = require('url-report');

urlReport.load('http://www.wikipedia.org/', function (report) {
  console.log(report);
});

The report

The object passed to your callback has these properties:

  • loadStatus – whether the page loaded (either 'success' or 'fail')
  • javascriptErrors – an array of JavaScript errors
  • consoleMessages – an array of messages from console.log, console.dir etc.
  • resources – an array of objects detailing all the resources requested (including failed ones)
  • resourceErrors – an array of objects detailing the resources that failed to load

To do

  • Add performance stats (server response time, page load time, bandwidth usage)
0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago