Automic VaultAutomic Vault

brew

jsonfmt mit Homebrew, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für jsonfmt in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install jsonfmt

local Homebrew formula metadata

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#jsonfmt

nixpkgs package indexes · pkgs/by-name/js/jsonfmt/package.nix · Quelle: api.github.com

Überblick

Paketzusammenfassung

Like gofmt, but for JSON files

Befehle und Aliase

  • jsonfmt

Verlauf

Projektgeschichte und Nutzung

jsonfmt is a Go command-line formatter for JSON files, explicitly modeled as `gofmt` for JSON.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 2018-11-07: The GitHub repository was created.
  • 2018-11-12: The author published the `Keeping json files formatted` post.
  • 2018-11-12: The blog documented Homebrew, Snapcraft, Docker, deb/rpm, and manual installation routes.
  • 2026-06-02: GitHub repository metadata showed ongoing repository activity.

Related projects

  • jsonfmt is related to gofmt by naming and workflow, to jq and Prettier as alternative JSON formatting options, and to Go's `encoding/json` package through its implementation approach.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
jsonfmtcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-25
Manager-Version0.5.2
Manager aktualisiert2026-07-17
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv0.5.2

https://github.com/caarlos0/jsonfmt

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:jsonfmt
Version0.5.2
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/jsonfmt
Homepagehttps://github.com/caarlos0/jsonfmt
Repositoryhttps://github.com/caarlos0/jsonfmt
Upstream-Dokumentationhttps://github.com/caarlos0/jsonfmt#readme
LizenzMIT
Quellarchivhttps://github.com/caarlos0/jsonfmt/archive/refs/tags/v0.5.2.tar.gz
Zuletzt aktualisiert2026-07-17T17:20:40+09:00
Pulseupdated
Build-Abhängigkeitengo
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namejsonfmt
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

jsonfmt

nix profile install nixpkgs#jsonfmt
  • normalized package name match
  • Abgeglichen nach: Jsonfmt
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/js/jsonfmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment