Skip to content

ludoviclefevre/node-saz-parser

Repository files navigation

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) {
	...
});
// sessions callback parameter sample
{
	"sessionId1": {
		"url": "http://..../",
		"method": "GET",
		"protocol": "HTTP/1.1",
		"request": {
			"headers": {
				"accept": "application/json",
				...
			},
			"content": "..."
		},
		"response": {
			"headers": {
				"accept": "application/json",
				...
			},
			"content": "..."
		}
	},
	...
}

License

MIT © Ludovic LEFEVRE