This repository has been archived on 2026-06-01 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
refactor/node-sqlite
Drop the sql.js WASM dependency in favour of Node 22's built-in
node:sqlite (DatabaseSync). This eliminates the ~2 MB WASM binary,
removes the async init ceremony, and lets us open databases in
readonly mode directly on disk instead of loading them into memory.
Breaking: requires Node >= 22.5.0 (sqlite support).
- Remove sql.js from cli dependencies
- Rewrite sense-sqlite.ts to use DatabaseSync
- Update sense command (schema/query) — sync API, no more queryAsObjects
- Update tests to use node:sqlite directly
- Remove sql.js from tsup externals
小橘 🍊(NEKO Team)
nerve
Observation engine — Sense, Reflex, Workflow
Description
Languages
TypeScript
97.2%
HTML
2%
JavaScript
0.5%
Shell
0.3%