0.3.1 • Published 5 years ago

quick-pretty v0.3.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Quick pretty

qp is a simple cli tool that takes one argument, a JSON object, and pretty prints it. It's great for when you're working locally on a program that outputs minimized JSON, but you want to quickly see the JSON object pretty printed.

Usage

> quick-pretty '{"foo":"bar","bazz":"buzz"}'

Outputs

{
	"foo": "bar",
	"bazz": "buzz"
}

Optional Usage

> quick-pretty '{"foo":"bar","bazz":"buzz"}' bazz

Outputs

{
	"foo": "bar"
}

Pipe stringified JSON output from another program

> echo '{"foo":"bar","bazz":"buzz"}' | quick-pretty

Outputs

{
	"foo": "bar",
	"bazz": "buzz"
}
0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago