Skip to content

Compact JSON formatter for the command line

License

Notifications You must be signed in to change notification settings

patelroshan21/json-fmt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-fmt

Compact JSON formatter for the command line

Install

yarn global add https://github.com/kriswill/json-fmt

This will create a global command json-fmt

Use

cat package.json | json-fmt

Emits formatted JSON to stdout, pipe to new files as you please..

echo "$(cat my.json | json-fmt)" >| my.json

Replaces my.json file with formatted JSON content

About

Compact JSON formatter for the command line

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%