ostroffsky / split-payload

Splits payload into response and request and writes to separate files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

If you grep logs, look for response and request, then unescape json-strings, then prettify and e.t.c. This package is for you :)

Installation

npm install -g split-payload

Usage

zgrep YOUR_REQUEST_ID YOUR_PAYLOAD_ARCHIVE.gz | split-payload

As a result you get two files with prettified JSON in the current directory: request.json and response.json.

Status

CircleCI

About

Splits payload into response and request and writes to separate files


Languages

Language:JavaScript 100.0%