npm.io
1.0.4 • Published 3 years agoCLI

split-payload

Licence
ISC
Version
1.0.4
Deps
0
Size
31 kB
Vulns
0
Weekly
0

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