SQLite library and admin UI for SignalK Node Server plugins, version 0.2.0 (early development, active). Provides isolated per-plugin SQLite databases via `openPluginDb(app)`, with WAL mode, foreign keys, caching. Includes web-based admin UI for browsing all plugin databases disk. Requires Node >=22.5.0 (uses built-in `node:sqlite`). No server-side cooperation needed. Differentiator: zero-config per-plugin isolation, admin UI that sees all databases regardless of plugin status, and integration with signalk-backup for transactional backups via `VACUUM INTO`.
npm install signalk-databaseNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how a SignalK plugin ESM module imports openPluginDb, migrates a table, and queries data.
Upgrade Node to 22.5.0 or later.
Manually disable the plugin in SignalK admin UI if not needed.
Do not call migrate multiple times; check version carefully.
Add "signalk-database": "^0.2" to your plugin's peerDependencies and run npm install.
Use dynamic import or static ESM import: import { openPluginDb } from 'signalk-database'.Upgrade Node to 22.5.0+.
No dependency data recorded yet.