Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

peyote

m1ome46MIT0.2.1

Pretty print any string in console

pprint, prettyprint, json, formatting, cli, command-line, string, peyote, csv

readme

Pretty printing all type of sources

Build Status Coverage Status Dependency Status

Install

$ npm install -g peyote

About

Peyote is a simple and small flexible tool for pretty-print things from cli!

Currently supported list of data:

  • <input checked="" disabled="" type="checkbox"> JSON
  • <input checked="" disabled="" type="checkbox"> CSV

Usages

Via pipe

$ echo '{"username": "admin", "status": 1, "is_admin": true}' | peyote

Via cli arguments

$ peyote '{"username": "admin", "status": 1, "is_admin": true}'

Output

First example