0.0.2 • Published 6 years ago

json-prettier v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Terminal json pretty print

install

npm install -g json-prettier

or

yarn global add json-prettier

How to use

  1. format string
jpp '{"name":"json-prettier","version":"0.0.1","description":"json printer pretty","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"bin":{"jp":"index.js"},"keywords":["json","format","pretty","hignlight"],"author":"Walle","license":"MIT"}'
  1. recevie string
echo '{"name":"json-prettier","version":"0.0.1","description":"json printer pretty","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"bin":{"jp":"index.js"},"keywords":["json","format","pretty","hignlight"],"author":"Walle","license":"MIT"}' | jpp
output

npm.io

Thanks

https://stackoverflow.com/a/33707230