Reads the json or text stored in the clipboard and displays the formatted result in the terminal.
- Display formatted json in the terminal.
- Formatted json is stored
~/.fcj/formatted.json
.
- Decoded text is displayed in the terminal
- Decoded is stored
~/.fcj/formatted.text
.
npm install -g fcj
- copy the json output from the browser or console.
- type "fcj".
- Display a formatted and colored json in the terminal (decoded if it's UTF-8 encoded)
- the result of the formatting will be saved in the file
~/.fcj/formatted.json
. (You can alias this file so that you can analyze the json in your familiar editor.