Automic VaultAutomic Vault

brew

yj mit Homebrew, apk, MacPorts, Nix installieren

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

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install yj

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install yj

MacPorts ports tree · textproc/yj/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add yj

Alpine Linux edge package indexes · yj · Quelle: dl-cdn.alpinelinux.org

Nixverifiziert · 92%
nix profile install nixpkgs#yj

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

Überblick

Paketzusammenfassung

CLI to convert between YAML, TOML, JSON and HCL

Befehle und Aliase

  • yj

Verlauf

Projektgeschichte und Nutzung

yj is a Go command-line converter between YAML, TOML, JSON, and HCL. Its defining package-nerd feature is preserving map order across conversions, a detail that matters when config files need to remain readable or diffable.

Projektgeschichte

The project was published in March 2017 and reached v1.0 immediately. Its release line then expanded through v2.0 in 2018, v3 and v4 in 2019, and v5 in 2020-2022 as the supported format libraries and conversion semantics matured.

The v5.0.0 release notes mark the major turning point: conversions between all formats began preserving map order, TOML moved to a 1.0 release candidate, YAML moved to yaml.v3, and the maintainer noted that order preservation required manually parsing library ASTs. v5.1.0 updated TOML support to TOML 1.0.0 and adjusted the Go module path.

Adoptionsgeschichte

yj is adopted by users who need shell-friendly data-format conversion without writing one-off scripts. The README documents Homebrew installation, release binaries for macOS, Linux, and Windows, a Docker image, and use as Go packages for converting data formats into ordered Go objects.

Wie es verwendet wird

The yj CLI reads from stdin and uses compact two-letter flags to choose source and destination formats, such as YAML to JSON, JSON to YAML, TOML to HCL, or HCL to JSON. It also includes options for JSON indentation, HTML escaping, YAML key parsing, and NaN/Inf handling.

Warum Paket-Nerds sich dafür interessieren

yj matters because it lives in the config-file conversion niche where jq, yq, hcl tools, and ad hoc scripts overlap. For package catalogs, it is a clean example of a small executable that bridges infrastructure formats rather than owning one format ecosystem.

Order preservation is its standout detail: many converters can translate syntax, but fewer try to preserve human-authored map order across YAML, TOML, JSON, and HCL.

Zeitleiste

  • 2017-03: Repository created and v1.0 released.
  • 2018-06: v2.0 released.
  • 2019-01: v3.0 and v3.1.0 released.
  • 2019-05: v4.0.0 released.
  • 2020-07: v5.0.0 adds map-order preservation across all formats.
  • 2022-04: v5.1.0 updates TOML support to 1.0.0 and module path to v5.

Related projects

  • YAML, TOML, JSON, and HCL: the four formats yj converts among.
  • jq and yq-style tools: neighboring command-line data transformation tools.
  • HashiCorp HCL: infrastructure configuration format supported by yj.

Quellen

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 13 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
yjcliglobales 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-Version5.1.0
Manager aktualisiert
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv5.1.0

https://github.com/sclevine/yj

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

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:yj
Version5.1.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/yj
Homepagehttps://github.com/sclevine/yj
Repositoryhttps://github.com/sclevine/yj
Upstream-Dokumentationhttps://github.com/sclevine/yj#readme
LizenzApache-2.0
Quellarchivhttps://github.com/sclevine/yj/archive/refs/tags/v5.1.0.tar.gz
Build-Abhängigkeitengo
Bottleverfügbar (auf arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameyj
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%

yj

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

yj 1.2.4-r0

Command line tool that converts YAML to JSON

https://github.com/bruceadams/yj

sudo apk add yj
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: yj
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Yj
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yj from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
MacPorts95%

yj

sudo port install yj
  • normalized package name match
  • Abgeglichen nach: Yj
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/yj/Portfile from https://api.github.com/repos/macports/macports-ports/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.

Combined YAML source

View the package source record on GitHub.

combined/yj.yml

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