Package
prettier-sql
Format whitespace in a SQL query to make it more readable
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 4.1k
- +378% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 4 years ago
- v5.1.1
- GitHub stars
- 21
- 5 forks
- Open issues / PRs
- 14 / 3
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
4,105 downloads last week, 27,647 in the last month. The 12-month change of +378% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 5.1.1, 9 Apr 20224 years ago
- First published
- -
- Last push to GitHub
- 6 Jul 20221,541 days before the snapshot
- Repository archived
- Yes
- Open issues
- 14
- Open pull requests
- 3
- Commits, last 52 weeks
- 0
- Dependents on npm
- 0
Major versions
-
Recent releases
-
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 2.3 MB
- Dependencies (1)
argparse
npm install prettier-sql- jsDelivr
https://cdn.jsdelivr.net/npm/prettier-sql@5.1.1/ - unpkg
https://unpkg.com/prettier-sql@5.1.1/ - esm.sh
https://esm.sh/prettier-sql@5.1.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| sql-formatter | 3.1m | - | 1 day ago | ESM + CommonJS | - |
| squawk-cli | 400.1k | - | 1 day ago | - | - |
| eslint-plugin-sql | 14.1k | - | 8 months ago | ESM only | - |
| eslint-plugin-drizzle | 176.1k | - | 2 years ago | CommonJS | - |
Indexability: Not indexed (discovery only): downloads_week 4105 < 10000.