Pretty printing all type of sources
$ npm install -g peyote
Peyote is a simple and small flexible tool for pretty-print things from cli!
Currently supported list of data:
- JSON
- CSV
$ echo '{"username": "admin", "status": 1, "is_admin": true}' | peyote
$ peyote '{"username": "admin", "status": 1, "is_admin": true}'
$ peyote-dark '{"username": "admin", "status": 1, "is_admin": true}'