🍋 Lightweight colorized JSON prettifier for the terminal
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
extras
.gitignore
README.md
index.js
package.json
yarn.lock

README.md

Yet Another Pretty JSON

npm version

Pipe your json into yap-json to make it pretty

Features

  • Pipe json for a pretty colourful output
  • What else do you need? Jesus, move along!

Usage

curl -s https://api.github.com/users/cesarferreira | yap-json
echo '{"foo": "lorem", "bar": "ipsum"}' | yap-json
cat myfile.json | yap-json

Installation

yarn global add yap-json

or

npm install yap-json -g

Contributing

I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:

  1. If its a feature, bugfix, or anything please only change code to what you specify.
  2. Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)
  3. Pull requests must be made against master branch. Any other branch (unless specified by the maintainers) will get rejected.
  4. Check for existing issues first, before filing an issue.
  5. Have fun!

Created & Maintained By

Cesar Ferreira (@cesarmcferreira)