Provides autocompletion and error highlighting for various SQL dialects such as ClickHouse, PostgreSQL, MySQL, and others. Current stable version is 1.22.0, with active development. It uses Jison grammar files to generate parsers and ships TypeScript types. Key differentiators: multi-dialect support, extensible architecture, and custom parser extensions for autocomplete logic. Released under Apache-2.0.
npm install sql-autocomplete-parsersNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize parser for ClickHouse dialect and get autocomplete suggestions for a partial SQL query.
Run 'npm run generate' in your project if you need to build parsers
Use import { ... } from 'sql-autocomplete-parsers'Run 'npm run generate' to generate parser files
Use 'import { AutocompleteParser } from 'sql-autocomplete-parsers''Use one of supported dialects: 'clickhouse', 'postgres', etc.