Local-first reactive backend engine with plugin architecture, SQLite storage, and real-time subscriptions via SSE. v0.7.2 (stable). Requires Bun 1.3+ or Node 24+ due to URLPattern dependency. Ship TypeScript types. Differentiates from similar tools (Convex, Firebase) by being self-hosted, fully local-first with SQLite, and providing a composable HTTP toolkit (vex-core/http) inspired by Vert.x Web and Koa. Peer dependency on React ^19 only for client-side usage. Plugin system allows file-based conventions via scanDirectory, defining tables, mutations, queries, webhooks, jobs, and middleware. Query builder supports filtering, aggregation, grouping, and pagination pushed down to SQL.
npm install vex-coreNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes Vex with SQLite storage, a plugin defining a counter table, mutation, and query, then demonstrates mutate, query, and subscribe.
Use Node 24+ or Bun 1.3+, or polyfill URLPattern with 'urlpattern-polyfill'.
Ensure project uses ESM (type: module in package.json) or import syntax in Node.
Do not install React unless using client features.
Provide absolute or valid relative path to sqliteAdapter.
Call the returned function on component unmount or when subscription is no longer needed.
Use import { table } from 'vex-core/framework'.Run 'npm install vex-core'.
Use 'import { Vex } from "vex-core"' instead of 'import Vex from "vex-core"'.Upgrade to Node 24+, Bun 1.3+, or install 'urlpattern-polyfill'.
Switch to import syntax or use dynamic import().