A SQLite extension for line-by-line file processing within SQL queries, distributed as an npm package for Node.js. Version 0.2.2 provides pre-compiled binaries for darwin-x64, win32-x64, and linux-x64. The extension allows reading, splitting, and generating lines from files or text directly in SQL, with functions like lines_read(), lines_split(), and lines_version(). Use with better-sqlite3 or node-sqlite3 via db.loadExtension(getLoadablePath()). No prebuilt binaries for ARM or musl Linux.
npm install sqlite-linesNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to load the sqlite-lines extension into better-sqlite3, check the version, and read lines from a file.
Use on one of those platforms or may fail to load extension with unsupported platform error.
Ensure npm install downloads the correct platform-specific package (e.g., sqlite-lines-darwin-x64).
Use db.loadExtension() before running any sqlite-lines SQL functions.
Check migration notes when upgrading to v1.x.
Verify platform support; if on unsupported platform (e.g., ARM Mac), use a different approach or container.
Run npm install sqlite-lines again, or check npm registry and network connectivity.
Install Visual C++ Redistributable for Visual Studio 2015-2022.