macOS
brew install jsonfmtlocal Homebrew formula metadata
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de jsonfmt pour les workflows d'agents IA.
installation
brew install jsonfmtlocal Homebrew formula metadata
nix profile install nixpkgs#jsonfmtnixpkgs package indexes · pkgs/by-name/js/jsonfmt/package.nix · Source: api.github.com
aperçu
Like gofmt, but for JSON files
historique
jsonfmt is a Go command-line formatter for JSON files, explicitly modeled as `gofmt` for JSON.
Carlos Becker introduced jsonfmt in a November 12, 2018 blog post after needing consistent JSON formatting for a Chef-heavy project. The post describes rejecting heavier or awkward alternatives, then arriving at Go's standard `json.Indent` as the simple implementation core.
The GitHub repository was created in November 2018 and packages the formatter as a small static CLI with release artifacts for several installation paths.
Adoption is practical and small-scale: Homebrew, Docker, apt/yum repository instructions, deb/rpm packages, and manual binaries are documented by the project. The intended users are teams that want JSON formatting in CI or pre-commit workflows without pulling in a larger JavaScript formatter stack.
The README documents `jsonfmt` for checking and `jsonfmt -w` for rewriting files. Becker's blog describes using `jsonfmt -w` locally and plain `jsonfmt` in CI so formatting drift fails the build.
jsonfmt is notable as a minimal native alternative to general-purpose formatters. Its charm is that it mostly packages a standard-library behavior into a predictable CLI, which is exactly the sort of small tool package managers are good at preserving.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
jsonfmt | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/caarlos0/jsonfmt
métadonnées d'installation
| Clé du paquet | brew:jsonfmt |
|---|---|
| Version | 0.5.2 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/jsonfmt |
| Page d'accueil | https://github.com/caarlos0/jsonfmt |
| Dépôt | https://github.com/caarlos0/jsonfmt |
| Docs amont | https://github.com/caarlos0/jsonfmt#readme |
| Licence | MIT |
| Archive source | https://github.com/caarlos0/jsonfmt/archive/refs/tags/v0.5.2.tar.gz |
| Dernière mise à jour | 2026-07-17T17:20:40+09:00 |
| Pulse | updated |
| Dépendances de compilation | go |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | jsonfmt |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
jsonfmt
nix profile install nixpkgs#jsonfmtpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.