DoricSQLite is an extension library for the Doric framework (>=0.8.26) that provides SQLite storage support for Doric applications. Current version is 0.2.6, with moderate release cadence. It integrates seamlessly with Doric's reactive system, allowing persistent data operations similar to other Doric data sources. Key differentiators: enables native SQLite capabilities within Doric apps without external dependencies. As a Doric extension, it follows the same data-binding and lifecycle patterns as other Doric modules.
npm install doric-sqliteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic SQLite database creation, table creation, insert, and query using DoricSQLite.
Pin exact version and test upgrades thoroughly.
Ensure Doric is initialized before using DoricSQLite.
Use absolute paths or rely on Doric's default storage location.
Replace synchronous calls with async/await.
npm install doric@>=0.8.26
Ensure Doric is initialized before instantiating DoricSQLite.
Use CREATE TABLE IF NOT EXISTS before inserting/selecting.