SQL Formatter Plus is a fork of SQL Formatter that adds bug fixes and features like keyword uppercasing and configurable line breaks between queries. Current stable version is 1.3.6. It formats SQL queries with support for Standard SQL, Couchbase N1QL, IBM DB2, and Oracle PL/SQL dialects. Differentiating features include placeholder replacement, configurable indentation, and ESM module support. It is released on npm and compatible with Node.js and browsers.
npm install sql-formatter-plusNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic formatting of a SELECT query with parameter replacement.
Always use the actual package name 'sql-formatter-plus' for importing.
Check documentation for available options; these features are specific to this fork.
Pass parameters as properly quoted strings: params: {foo: "'bar'"} or params: ["'bar'"].Ensure your SQL dialect is among the supported ones, otherwise formatting may be incorrect.
Use default import: import sqlFormatter from 'sql-formatter-plus'
Use one of: 'sql', 'n1ql', 'db2', 'pl/sql'
Check the SQL syntax; the formatter expects valid SQL.
No dependency data recorded yet.