prettier-plugin-postgresql-rs weekly downloads statistics
By jeromedg-dlh · npm · Prettier plugins
Prettier plugin for PostgreSQL, powered by the Rust pgsqlfmt formatter
prettier-plugin-postgresql-rs has 4 recorded weekly downloads on npm.
It ranks #2048 of 2,251 tracked npm listings by weekly downloads.
Over the past 7 days it changed by -97.3%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About prettier-plugin-postgresql-rs
prettier-plugin-postgresql-rs
A Prettier plugin for PostgreSQL. Formatting is done by the Rust pgsqlfmt crate, compiled to a native Node addon with napi-rs.
Install
Requires Prettier 3.
Prerelease: the current next build (0.1.0-alpha.x) only includes a binary for macOS on Apple Silicon (arm64). Binaries for macOS x64, Linux x64 (glibc) and Windows x64 are planned for the first stable release.
Usage
Add the plugin to your Prettier config:
Files ending in .sql, .pgsql and .psql are then formatted automatically:
To use the plugin for other files, set "parser": "postgresql" in an override.
Statements that pgsqlfmt cannot parse are left unchanged.
Options
| Option | Default | Description |
| pgKeywordCase | "upper" | Case of SQL keywords: "upper", "lower" or "preserve". | | pgCommaStyle | "trailing" | Comma position when items go one per line: "trailing" or "leading". |
Prettier's own printWidth and tabWidth are respected (tabWidth minimum 2).
Using the formatter directly
The native binding can also be used without Prettier:
Development
Requires a recent Rust toolchain and Node.js.
License
MIT
Description from the npm listing.
- prettier
- prettier-plugin
- postgresql
- postgres
- pgsql
- sql
- formatter
- napi-rs
Where prettier-plugin-postgresql-rs sits in the listing
Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Recent observations
Full history (121)Similar npm Prettier plugins plugins
Data source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/prettier-plugin-postgresql-rs. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.