@edgebasejs/core
v0.1.11
Published
EdgeBase server core library
Readme
@edgebasejs/core
Server-side core building blocks for EdgeBase: sync engine, access rules, audit logging, webhooks, push notifications, and more.
Install
pnpm add @edgebasejs/coreWhat it provides
ServerSyncEnginefor offline-first sync- Auth helpers and access rules engine
- Audit trail logging and query utilities
- Webhooks, files, search, analytics, push notifications
Usage
import { ServerSyncEngine } from '@edgebasejs/core';
const engine = new ServerSyncEngine({
schemas,
db,
user,
});
const response = await engine.sync(request);Notes
This package is used internally by @edgebasejs/worker, but you can also build custom backends with it.
