saz2har

2.3.0 • Public • Published

saz2har

Converts SAZ file (from Fiddler) to HAR file.

Install

$ npm install -g saz2har

API

convert(input[, output][, options][, callback])

  • input - path to the input SAZ file
  • output - path to the output HAR file
  • options - object with conversion options
    • validate - enables validation of HAR output (default: true)
    • write - write HAR output (default: false)
  • callback - callback function
var saz2har = require("saz2har");
 
saz2har.convert("foo.saz", {
    validate: false
}, function (err, data) {
    if (err) {
        console.error("Error: ", err);
        
        return;
    }
    
    console.log(data);
});

Bin

$ saz2har --help

Usage: saz2har [options] input.saz [output.har]

Options:
    --help          Show help                                       [boolean]
    --version       Show version                                    [boolean]
    --no-validate   Validate the output HAR file (default: true)    [boolean]

Examples:
    saz2har foo.saz bar.har --no-validate

License

MIT

Package Sidebar

Install

npm i saz2har

Weekly Downloads

101

Version

2.3.0

License

MIT

Unpacked Size

6.99 MB

Total Files

16

Last publish

Collaborators

  • myadzel