pkg.soopen package index

brew / Rang 5250

keep-sorted mit Homebrew, Nix installieren

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

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install keep-sorted

local Homebrew formula metadata

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#keep-sorted

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

Überblick

Paketzusammenfassung

Language-agnostic formatter that sorts selected lines

Befehle und Aliase

  • keep-sorted

Verlauf

Projektgeschichte und Nutzung

keep-sorted is Google's language-agnostic formatter for sorting marked blocks of lines inside larger files. Instead of trying to parse a whole language, it asks maintainers to mark regions with `keep-sorted start` and `keep-sorted end`, then sorts just those regions.

Projektgeschichte

The GitHub repository was created on 2023-02-23. The README presents the tool as a general formatter for sorted blocks and documents installation through `go install` and pre-commit integration. Public GitHub releases began with the 0.1.x line in January 2024, followed by rapid feature growth around nested blocks, numeric sorting, YAML-style option lists, regex sorting, release binaries, and skip/group options.

Adoptionsgeschichte

Adoption is strongest in repositories that want deterministic ordering for generated-looking lists without adopting a language-specific formatter. The pre-commit hook documented in the README is the main adoption path: projects can enforce sorted blocks in review and CI while keeping the tool independent of file type.

Wie es verwendet wird

Users wrap a section of code, configuration, documentation, or data with keep-sorted markers and run `keep-sorted` over files or stdin. Options on the marker control grouping, block parsing, case sensitivity, duplicate removal, descending order, regex-based sorting, and blank-line handling.

Warum Paket-Nerds sich dafür interessieren

keep-sorted is package-nerdy because it solves a recurring maintenance itch with a tiny explicit contract: the source file says which lines are machine-sortable. That makes it a useful complement to gofmt-style whole-file formatters and to pre-commit-driven hygiene stacks.

Zeitleiste

  • 2023-02-23: GitHub repository created.
  • 2024-01-23: v0.1.1, v0.2.0, and v0.3.0 releases published.
  • 2024-03-05: v0.4.0 added skip_lines and group_prefixes options.
  • 2024-09-27: v0.5.0 added YAML-list support for multi-valued options.
  • 2025-03-18: v0.6.0 added by_regex and a --version flag.
  • 2026-06-30: v0.9.1 published.

Related projects

  • keep-sorted is related to pre-commit, Go module distribution, repository-formatting tools, and language-specific formatters such as gofmt and clang-format, but it intentionally stays language-agnostic.

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

  • Es wurden keine Homebrew-Bottle-Metadaten erfasst.

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
keep-sortedExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.

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-08-03
Manager-Version0.9.1
Manager aktualisiert2026-07-27
lokale Datenunbekannt
Upstreamnicht verfügbar
neueste erkannte Versionnicht erkannt
  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:keep-sorted
Version0.9.1
PaketmanagerHomebrew
Homepagehttps://github.com/google/keep-sorted
Repositoryhttps://github.com/google/keep-sorted
Zuletzt aktualisiert2026-07-27T21:58:38+02:00
Pulseupdated
Bottlenicht erfasst
Dienstkeiner deklariert

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

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

Nix95%

keep-sorted

nix profile install nixpkgs#keep-sorted
  • normalized package name match
  • Abgeglichen nach: Keep Sorted
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ke/keep-sorted/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
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation