JSON Shouldn't Be a Chore
Every developer has been there: you copypaste JSON into an online formatter, hit format, copypaste back. Then you wonder "why is there no CLI for this?"
There is now.
npx json-tidy-pro format messy.json
npx json-tidy-pro validate config.json
npx json-tidy-pro minify data.json
npx json-tidy-pro convert data.json --to yaml
Features
Format & Beautify
Indent properly, sort keys, colorize output.
Validate
Check structure, detect duplicate keys, validate against a schema.
Minify
Condense JSON to one line for API payloads and storage.
Convert
JSON → YAML, JSON → CSV, JSON → TOML.
Installation
npm install -g json-tidy-pro
More Resources
- 🛠️ My tools & open-source projects: GitHub
- 📝 Blog & updates: TucaoWall
- ☁️ Deploy your own cloud server and get $25 credit: DigitalOcean
- 🐙 CLI Toolkit Pro (bundle of all my CLI tools): npm
- 💼 Hire me on Freelancer: a0982
Top comments (0)