Converts LSIF (Language Server Index Format) dumps into SQLite databases for querying code intelligence data offline. Stable version 0.5.3, part of the lsif-node project by Microsoft. Accepts LSIF input files and produces a SQLite DB enabling efficient multi-file analysis. Differentiated from other LSIF tools by its focus on SQL persistence rather than in-memory processing.
npm install lsif-sqliteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Converts an LSIF dump file stream into a SQLite database using the main convertToDb function.
Use async/await or .then() with the new API.
Replace transform() with convertToDb() for new code.
Ensure LSIF dump is compatible with LSIF v1.0 specification.
Install build tools (python, make, g++) or use 'sql.js' as an alternative.
Use streaming and chunking manually, or split the LSIF dump into smaller parts.
Run 'npm install lsif-sqlite' in your project directory.
Use 'import { convertToDb } from 'lsif-sqlite'' in an ESM context (type: module in package.json or .mjs file).Ensure you use the latest version of the package and run the conversion on a fresh database.