Automic VaultAutomic Vault

brew

sql-formatter mit Homebrew, Nix installieren

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

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install sql-formatter

local Homebrew formula metadata

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#sql-formatter

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

Überblick

Paketzusammenfassung

Whitespace formatter for different query languages

Befehle und Aliase

  • sql-formatter

Verlauf

Projektgeschichte und Nutzung

SQL Formatter is a TypeScript and JavaScript library and CLI for pretty-printing SQL and related query languages.

Projektgeschichte

The project was created in 2016 and its README says it started as a port of a PHP library before diverging substantially. It grew into a multi-dialect formatter supporting engines and query languages including BigQuery, ClickHouse, DB2, DuckDB, Hive, MariaDB, MySQL, N1QL, Oracle PL/SQL, PostgreSQL, Redshift, Snowflake, Spark, SQLite, Transact-SQL, Trino, and others.

Adoptionsgeschichte

SQL Formatter is primarily distributed through the JavaScript package ecosystem, with the README recommending npm, yarn, pnpm, or bun. The supplied package metadata also shows Homebrew and Nix packaging for the CLI, and the organization maintains an official VS Code extension.

Wie es verwendet wird

The library exposes a `format` function for applications, while the CLI installs as `sql-formatter` and can format stdin or a file. It accepts language and config options, searches for `.sql-formatter.json` in the current or parent directories, and can also use a config path or JSON string passed with `--config`.

Warum Paket-Nerds sich dafür interessieren

Package nerds care about SQL Formatter because it is a small, installable formatting primitive that can be embedded in editors, scripts, CI, and language tooling. Its appeal is broad dialect coverage and simple package-manager installation rather than a full SQL linting framework.

Zeitleiste

  • 2016: GitHub repository created and v0.0.1 published.
  • 2026: v15.8.2 published on GitHub releases.

Related projects

  • The README credits the original PHP sql-formatter library as its starting point and links to official editor integrations, including the SQL Formatter VS Code extension.

Sicherheitslage

Noch keine Protected-Tool-Abdeckung gefunden

Für sql-formatter wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 1 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhä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.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
.sql-formatter.json

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
sql-formattercliglobales 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-Version15.8.2
Manager aktualisiert2026-06-22
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://sql-formatter-org.github.io/sql-formatter/

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:sql-formatter
Version15.8.2
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/sql-formatter
Homepagehttps://sql-formatter-org.github.io/sql-formatter/
Repositoryhttps://github.com/sql-formatter-org/sql-formatter
Upstream-Dokumentationhttps://github.com/sql-formatter-org/sql-formatter#readme
LizenzMIT
Quellarchivhttps://registry.npmjs.org/sql-formatter/-/sql-formatter-15.8.2.tgz
Zuletzt aktualisiert2026-06-22T14:17:23Z
Pulseupdated
Abhängigkeitennode
Bottleverfügbar (auf all)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesql-formatter
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

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

Nix95%

sql-formatter

nix profile install nixpkgs#sql-formatter
  • normalized package name match
  • Abgeglichen nach: Sql Formatter
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sq/sql-formatter/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
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment