A zero-dependency SQL formatter and minifier for Node.js and CLI. Current stable version 1.0.7. Offers both beautification (with configurable indentation and uppercase keywords) and compression. Lightweight alternative to sql-formatter-plus with no subscriptions. Actively maintained with weekly releases on npm.
npm install devkits-sql-formatterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows formatting with uppercase keywords and minifying a SQL query.
Use npx devkits-sql-formatter to avoid global collisions.
Test minification on your specific SQL; if issues arise, stick with formatting.
Use named import: import { format } from 'devkits-sql-formatter' instead of import format from ...Run npm install devkits-sql-formatter and ensure import path is correct.
Change to import { format } from 'devkits-sql-formatter'No dependency data recorded yet.