A JavaScript library that parses SQLite 3 queries into abstract syntax tree (AST) representations. Version 1.0.4 is the latest stable release, under active development. It supports both synchronous and asynchronous parsing, stream transforms for large files, and a global CLI tool. Unlike generic SQL parsers, this library is specifically built against the SQLite 3 spec, providing accurate ASTs for SQLite-specific syntax.
npm install sqlite-parser-cwxNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates synchronous, asynchronous, and stream-based parsing of SQLite queries with error handling.
Update calls to either use the sync return value or provide a callback.
Review the SQLite 3 spec coverage; use a fallback parser for unsupported syntax.
Pipe through createStitcher() or manually wrap output if you need a single JSON structure.
Use const sqliteParser = require('sqlite-parser').default; or switch to ES import.Run npm install sqlite-parser and ensure the import path is correct.
No dependency data recorded yet.