ICQL is a Node.js SQLite adapter that combines YeSQL-style statement files with better-sqlite3 to turn named SQL definitions into callable methods. Version 5.3.0 (stable) is released on npm, but development appears low-cadence. Unlike ORMs, ICQL keeps SQL external and explicit, supporting procedures (multiple statements) and queries (SELECT). Requires better-sqlite3 as connector. Early-stage: may have bugs and breaking changes.
npm install icqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Instantiates an ICQL db object using an in-memory SQLite database and an external .icql file, then calls a generated method.
Use import ICQL from 'icql' instead of const ICQL = require('icql').Use { connector: Database } instead of { better_sqlite3: Database }.Import { bind } from 'icql' and call bind(settings).Ensure you pass a better-sqlite3 compatible Database constructor as the connector.
Use import ICQL from 'icql' or switch to require('icql').default.Run npm install better-sqlite3 and pass the require'd module as connector in settings.
Ensure the file exists and contains valid ICQL definitions (procedure/query blocks).