An open API service indexing awesome lists of open source software.

https://github.com/fluffynuts/json-prettier

offline JSON formatter at the console
https://github.com/fluffynuts/json-prettier

Last synced: 10 months ago
JSON representation

offline JSON formatter at the console

Awesome Lists containing this project

README

          

json-prettier
---

An offline, cli json prettier

build
---
`npm run publish`
or
`npm run build` (if you want something dotnet-dependent)

_ignore the warnings about trimming and JsonSerializer, unless you get issues afterwards - Works Great On My Machine (tm)_

usage
---

cat /path/to/file.json | json-prettier
or
json-prettier /path/to/file.json

will output on stdout