Automic VaultAutomic Vault

brew

hjson mit Homebrew, Nix, scoop installieren

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

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install hjson

local Homebrew formula metadata

Windows

Scoopverifiziert · 92%
scoop install main/hjson

Scoop official bucket manifest trees · bucket/hjson.json · Quelle: api.github.com

Überblick

Paketzusammenfassung

Convert JSON to HJSON and vice versa

Befehle und Aliase

  • hjson

Verlauf

Projektgeschichte und Nutzung

Hjson is a human-editable configuration format and related CLI/library ecosystem that keeps JSON compatibility while relaxing syntax for comments, unquoted keys, optional commas, root-brace omission, and multiline strings.

Projektgeschichte

The Hjson site presents the format as a user interface for JSON rather than a replacement for JSON. The stated goal is to make data easier for humans to read and edit before converting it back to ordinary JSON for machines.

The Hjson Internet-Draft dated May 23, 2016 formalized the format as Human JSON, a configuration file format based on JSON whose design goals were readability, editability, backward compatibility with JSON, and suitability for human-viewed configuration, resource files, and debug data dumps.

The Homebrew package points at hjson-go, the Go implementation. Its README says the Go implementation is based on hjson-js, documents both library and hjson-cli use, and positions the CLI as a converter between JSON and Hjson.

Adoptionsgeschichte

Hjson adoption has been implementation-led rather than standards-body-led. The official developer page lists implementations for JavaScript, C#, C++, Go, Java, Lua, PHP, Python, Rust, Ruby, and other partial ports, plus tools with native support.

The input package facts show the Go CLI packaged by Homebrew, Nix, and Scoop. That is a modest but useful packaging footprint for developers who want a command-line converter without adopting a language-specific library.

Wie es verwendet wird

The hjson-go CLI reads JSON or Hjson from a file or stdin and emits JSON, formatted JSON, or Hjson. Typical package use is converting existing JSON into a friendlier editable form, validating Hjson, or embedding Hjson parsing into Go programs.

The format is intentionally scoped. The Internet-Draft recommends it for data primarily viewed or edited by humans and advises against protocol use.

Warum Paket-Nerds sich dafür interessieren

Hjson sits in the long-running package-nerd debate over configuration formats: strict JSON is universal but hostile to comments and hand editing; YAML is powerful but complex; Hjson offers a smaller relaxed-JSON compromise.

The Go CLI matters because it turns the format into a portable command-line filter, making Hjson useful in shell scripts, editors, config migrations, and package-manager installs without committing to a JavaScript runtime.

Zeitleiste

  • 2014: The hjson/hjson repository was created for the format project.
  • 2016-05-23: The Hjson Internet-Draft was dated May 23, 2016.
  • 2016-08-05: The hjson-go repository was created.
  • 2016-08-08: hjson-go v0.1.0 was published on GitHub releases.

Related projects

  • hjson-js: the JavaScript implementation that hjson-go names as its base.
  • JSON: the strict data format that Hjson extends for human-editable configuration.
  • YAML, TOML, JSON5: adjacent human-editable configuration formats often considered for similar use cases.

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
hjsoncliglobales 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-Version4.6.0
Manager aktualisiert
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv4.6.0

https://github.com/hjson/hjson-go

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:hjson
Version4.6.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/hjson
Homepagehttps://hjson.github.io/
Repositoryhttps://github.com/hjson/hjson-go
Upstream-Dokumentationhttps://hjson.github.io/
LizenzMIT
Quellarchivhttps://github.com/hjson/hjson-go/archive/refs/tags/v4.6.0.tar.gz
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 Namehjson
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
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%

hjson

nix profile install nixpkgs#hjson
  • normalized package name match
  • Abgeglichen nach: Hjson
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: hjson from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Scoop95%

main/hjson

scoop install main/hjson
  • normalized package name match
  • Abgeglichen nach: Hjson
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/hjson.json from https://api.github.com/repos/ScoopInstaller/Main/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