Skip to content
SPECIFICTION
Get listed

prettier-plugin-sql-cst vs Sleek

prettier-plugin-sql-cst

github.com

Sleek

github.com

Side by side

Figureprettier-plugin-sql-cstSleek
Price from—Free
Free plan—Yes
Free trial——
Open source——
WebYes—
Windows—Yes
macOS—Yes
Linux—Yes
Plans published01
Spec score · SQL Linters and Formatters6.9 (#25)8.0 (#9)
Editor integrationThe plugin can be used with Prettier’s VSCode extension, configured as the default formatter, with document selectors potentially needed for SQL files.The VS Code extension formats documents and selections, checks formatting, and can optionally format on save or paste.
InstallationThe README gives npm, pnpm, and yarn commands for installing the plugin with Prettier as a development dependency.The CLI is available as compiled binaries from GitHub Releases or through Cargo, which requires Rust.
LicenseThe repository identifies the project as GPL-3.0 licensed.The project is available under the MIT License.
PurposeIt is a Prettier plugin for formatting SQL that uses sql-parser-cst and Prettier’s formatting algorithm.Sleek is a command-line tool for formatting SQL to maintain consistent style and readability.

Plans

prettier-plugin-sql-cst

No plans published.

prettier-plugin-sql-cst pricing →

Sleek

  • SleekFree

Sleek pricing →

In their own words

prettier-plugin-sql-cst

prettier-plugin-sql-cst has no write-up on Specifiction yet; its figures are above.

Visit github.com

Sleek

Sleek is a command-line SQL formatter for applying consistent styles across SQL files. Its configurable options include indentation, keyword casing, and blank lines between queries. You can pass file paths or glob patterns, or provide input through standard input when no paths are supplied. The `--check` flag reports whether files are formatted without changing them. Sleek supports PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, and Oracle. Its VS Code extension can format documents or selections, check formatting, and optionally format on save or paste; it can also download the CLI when it is not found. The CLI is available as compiled binaries or through Cargo, which requires Rust, and the project directs users to choose a binary for their operating system and architecture. Sleek is available under the MIT License, with formatting handled by the `sqlformat` crate. Building release v0.4.0 requires Rust 1.85 or later. The listed plan is free, with a free plan and no free trial.

Visit github.com