Automic VaultAutomic Vault

brew

jsonfmt を Homebrew, Nix でインストール

jsonfmt のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install jsonfmt

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#jsonfmt

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

概要

パッケージ概要

Like gofmt, but for JSON files

コマンドとエイリアス

  • jsonfmt

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 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.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
jsonfmtcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版0.5.2
マネージャ更新日2026-07-17
ローカルデータOK
上流最新
検出された最新v0.5.2

https://github.com/caarlos0/jsonfmt

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:jsonfmt
バージョン0.5.2
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/jsonfmt
ホームページhttps://github.com/caarlos0/jsonfmt
リポジトリhttps://github.com/caarlos0/jsonfmt
上流ドキュメントhttps://github.com/caarlos0/jsonfmt#readme
ライセンスMIT
ソースアーカイブhttps://github.com/caarlos0/jsonfmt/archive/refs/tags/v0.5.2.tar.gz
最終更新2026-07-17T17:20:40+09:00
Pulseupdated
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

jsonfmt

nix profile install nixpkgs#jsonfmt
  • normalized package name match
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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