prettier-plugin-sql
JSON →Prettier plugin for formatting SQL files and SQL-in-JS. Wraps sql-formatter and node-sql-parser to support 20+ dialects including BigQuery, PostgreSQL, MySQL, ClickHouse. Requires Prettier 3.0.3+ and Node 14.18+. Version 0.20.0 adds ClickHouse support. Plugin is under active development but stable for basic usage. Differentiator: integrates with prettier-plugin-embed for embedded SQL in tagged templates.
Traffic · last 30 days ↓73% vs prev 7d
total hits 24
actors 8 distinct systems
last hit 16h ago AhrefsBot
top countries 🇺🇸 United States · 🇳🇱 Netherlands · 🇮🇳 India · 🇨🇦 Canada · 🇳🇴 Norway
API endpoints
full doc /v1/registry/prettier-plugin-sql
compatibility /v1/registry/prettier-plugin-sql/compatibility