Converts SAZ file (from Fiddler) to HAR file.
$ npm install -g saz2har
input
- path to the input SAZ fileoutput
- path to the output HAR fileoptions
- object with conversion optionsvalidate
- 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);
});
$ 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
MIT