macOS
brew install sql-formatterlocal Homebrew formula metadata
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de sql-formatter pour les workflows d'agents IA.
installation
brew install sql-formatterlocal Homebrew formula metadata
nix profile install nixpkgs#sql-formatternixpkgs package indexes · pkgs/by-name/sq/sql-formatter/package.nix · Source: api.github.com
aperçu
Whitespace formatter for different query languages
historique
SQL Formatter is a TypeScript and JavaScript library and CLI for pretty-printing SQL and related query languages.
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.
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.
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`.
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.
posture de sécurité
Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour sql-formatter. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.
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.
local files
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.
Config paths the tool may read or write during local use.
.sql-formatter.jsonexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
sql-formatter | cli | exécutable global |
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.
https://sql-formatter-org.github.io/sql-formatter/
métadonnées d'installation
| Clé du paquet | brew:sql-formatter |
|---|---|
| Version | 15.8.2 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/sql-formatter |
| Page d'accueil | https://sql-formatter-org.github.io/sql-formatter/ |
| Dépôt | https://github.com/sql-formatter-org/sql-formatter |
| Docs amont | https://github.com/sql-formatter-org/sql-formatter#readme |
| Licence | MIT |
| Archive source | https://registry.npmjs.org/sql-formatter/-/sql-formatter-15.8.2.tgz |
| Dernière mise à jour | 2026-06-22T14:17:23Z |
| Pulse | updated |
| Dépendances | node |
| Bouteille | disponible (sur all) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sql-formatter |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
sql-formatter
nix profile install nixpkgs#sql-formatterpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.