{"library":"psqlformat","type":"library","category":null,"description":"PostgreSQL SQL syntax beautifier wrapping the Perl-based pgFormatter. v1.33.0 (released 2023-01-15) provides a CLI and JavaScript API for formatting SQL files, with options for indentation, keyword casing, comma placement, and comment removal. Key differentiators: specifically targets PostgreSQL dialect, supports extensive formatting rules (keywordCase, functionCase, typeCase), and offers both library and CLI usage. Requires Perl runtime. Actively maintained with monthly releases.","language":"javascript","status":"active","version":"1.33.0","tags":["javascript","sql","postgres","postgreSQL","formatting","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install psqlformat","imports":["import psqlformat from 'psqlformat'","import { format } from 'psqlformat'","import { formatFromFile } from 'psqlformat'"]},{"cmd":"yarn add psqlformat","imports":[]},{"cmd":"pnpm add psqlformat","imports":[]}],"homepage":"https://github.com/bradymholt/psqlformat#readme","github":"https://github.com/bradymholt/psqlformat","docs":null,"changelog":null,"pypi":null,"npm":"psqlformat","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}