Skip to content

Splits payload into response and request and writes to separate files

Notifications You must be signed in to change notification settings

ostroffsky/split-payload

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published