Automic VaultAutomic Vault

brew

Installer hjson avec Homebrew, Nix, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de hjson pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install hjson

local Homebrew formula metadata

Windows

Scoopvérifié · 92%
scoop install main/hjson

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

aperçu

Résumé du paquet

Convert JSON to HJSON and vice versa

Commandes et alias

  • hjson

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

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

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • Les métadonnées de compilation listent 1 dépendances de compilation.

Revue recommandée

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

Exécutables installés

CommandeTypeExpositionNote
hjsoncliexécutable global

fraîcheur

Version et 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.

page générée2026-07-25
version du gestionnaire4.6.0
gestionnaire mis à jour
données localesOK
amontà jour
dernière version détectéev4.6.0

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

  • infoNo package-manager update timestamp was available.confiance faible

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:hjson
Version4.6.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/hjson
Page d'accueilhttps://hjson.github.io/
Dépôthttps://github.com/hjson/hjson-go
Docs amonthttps://hjson.github.io/
LicenceMIT
Archive sourcehttps://github.com/hjson/hjson-go/archive/refs/tags/v4.6.0.tar.gz
Dépendances de compilationgo
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Nix95%

hjson

nix profile install nixpkgs#hjson
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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