Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

saz-parser

ludoviclefevre10MIT0.0.8

SAZ File parser

saz, fiddler, parser

readme

NPM version Build Status Coverage Status Dependency Status Code Climate

NodeJS Fiddler SAZ File Parser Package

Install

$ npm install saz-parser

Usage

var sazParser = require('saz-parser');

sazParser('SAZ File Path', function(err, sessions) {
    ...
});

// parsed object (ie. second argument in callback method) structure:
{
    "sessionId1": {
        "request": {
            "headers": {
                "accept": "application/json",
                ...
            },
            "content": "..."
        },
        "response": {
            "headers": {
                "accept": "application/json",
                ...
            },
            "content": "..."
        }
    },
    ...
}

License

MIT © Ludovic LEFEVRE