Skip to content

jakl/jsonpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

A command to pretty print json from a pipe or file

Install

Make sure nodejs is up to date

npm install -g jsonpp

Run

echo '[42, 42]' | jsonpp
[
  42,
  42
]
echo '{"a": 42}' > tmp.json
jsonpp tmp.json
{
  "a": 42
}

About

A command to pretty print json from a pipe or file

Resources

Stars

Watchers

Forks

Packages

No packages published