A CLI tool to format JSON files, designed as a post-hook to fix Prettier's JSON output. Version 1.1.0 is the latest stable release. It provides a simple command-line interface for formatting JSON files either globally or locally via npm scripts. Differentiators: lightweight, zero dependencies, focused solely on JSON formatting without opinionated defaults.
Verified import paths — ran on the pinned version, not inferred.
CLI tool; no JavaScript import. Run via npx or global install.
The command is 'format-json-cli', not 'format-json' or 'format-json-cli' with hyphens omitted.
Installs the CLI globally, creates a sample JSON file, and formats it, showing stdout output and in-place modification pattern.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.