url-har

0.1.0 • Public • Published

Build Status Coverage Status

url-har

A library to get HTTP Archive files

Dependence

Make sure PhantomJS is insalled. This module expects the phantomjs binary to be in PATH somewhere and must be greater than 1.9.0. In other words, type this:

$ phantomjs -v

if it print 1.9.x. you can do next.

Usage

var har = require('url-har');
har('http://www.google.com')
  .success(function (data) {
    // print the HAR data
    console.log(data);
  })
  .fail(function (code) {
    // print the fail reason code
    console.log(code);
  });

License

(The WTFPL)

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE

Version 2, December 2004

Copyright (c) 2013 Daniel Yang miniflycn@justany.net

Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  1. You just DO WHAT THE FUCK YOU WANT TO.

Dependencies (0)

    Dev Dependencies (6)

    Package Sidebar

    Install

    npm i url-har

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • miniflycn