New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

devkits-json-formatter

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devkits-json-formatter

Format and validate JSON from CLI or stdin — pretty print, minify, and validate JSON files

Source
npmnpm
Version
1.0.4
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

devkits-json-formatter

Format and validate JSON from CLI or stdin. Part of DevKits Tools.

Install

npm install -g devkits-json-formatter

npm version

Usage

Format JSON (pretty print)

# From stdin
echo '{"name":"DevKits","tools":84}' | jsonfmt

# From file
jsonfmt package.json

# From JSON string
jsonfmt '{"test":true}'

Minify JSON

jsonfmt package.json --minify
jsonfmt '{"test":true}' -m

🚀 More Free Tools from DevKits

This CLI is part of DevKits — 82 free developer tools + 20 Pro tools ($9).

Free Tools

👉 Other Products

  • Invoicely — Free invoice generator (6 templates, PDF export)
  • SnapOG — Free OG image generator (20+ templates)

💎 Pro Tools ($9 one-time)

Unlock 20 Pro tools at DevKits Pro:

  • SQL → Code (Go/TS/Python/Rust)
  • Advanced Regex with visual groups
  • Mock Data Generator (1000+ rows)
  • And 16 more → See all Pro tools

License

MIT — DevKits Team

Keywords

json

FAQs

Package last updated on 11 Mar 2026

Related posts