API reference
Generated from the source by TypeDoc, so it always matches the published
types. Each entry point is a separate import; storage adapters, framework adapters and the React
embeds have optional peer dependencies, installed only when you use them. A symbol that
several entry points export (the root re-exports /core, /schema and /signing) is documented
once, under the entry point it comes from; the others link to it (a module page’s Re-exports).
See also Subpath exports.
| Import | Exports | Description |
|---|---|---|
@xtandard/webhooks |
62 | @xtandard/webhooks — self-hosted, embeddable, Standard Webhooks-compliant outbound-webhooks control plane. |
@xtandard/webhooks/auth/basic |
2 | HTTP Basic authentication for the panel: basicAuth() checks the Authorization: Basic header against a configured user list (scrypt password hashes via hashPassword, a custom verifier, or plaintext for development only). |
@xtandard/webhooks/authorization/delegated |
2 | Delegated authorization: delegatedAuthorization() wraps your own authorize function, for ABAC, a policy engine (OPA, Cedar) or per-application ownership checks. |
@xtandard/webhooks/authorization/none |
1 | No authorization: noAuthorization() allows every action. |
@xtandard/webhooks/authorization/roles |
6 | Role-based authorization: rolesAuthorization() maps role names to the actions they grant (built-in admin/editor/viewer policy by default), with a readonly switch that denies every mutating action. |
@xtandard/webhooks/bun |
1 | Bun adapter: webhooksPanel() returns the web-standard panel handler to hand to Bun.serve({ fetch }), with the core and the dispatcher attached. |
@xtandard/webhooks/core |
19 | Admin + publish core — the operations layer the API, CLI, and dispatcher sit on top of. |
@xtandard/webhooks/drizzle/mysql |
2 | MySQL Drizzle table factory for the webhooks KV store: mysqlWebhooksTable() puts the table in your Drizzle schema and migrations. |
@xtandard/webhooks/drizzle/pg |
2 | Postgres Drizzle table factory for the webhooks KV store: pgWebhooksTable() puts the table in your Drizzle schema and migrations. |
@xtandard/webhooks/drizzle/sqlite |
2 | SQLite Drizzle table factory for the webhooks KV store: sqliteWebhooksTable() puts the table in your Drizzle schema and migrations. |
@xtandard/webhooks/elysia |
5 | Elysia 1.x adapter: webhooksPanel() to mount the panel as a plain handler, or webhooksElysia(), a typed plugin whose admin routes Eden treaty can see. |
@xtandard/webhooks/elysia2 |
2 | Elysia 2 adapter: the same surface as @xtandard/webhooks/elysia (webhooksPanel() and the typed webhooksElysia() plugin), built against Elysia 2 and @elysia/eden. |
@xtandard/webhooks/express |
2 | Express adapter: webhooksPanel() bridges Node’s req/res to the web-standard panel handler. |
@xtandard/webhooks/hono |
1 | Hono adapter: webhooksPanel() returns a Hono sub-app serving the panel, to compose with app.route(path, panel). |
@xtandard/webhooks/hooks/log |
2 | A reference hook: createLogHook() logs mutation events. |
@xtandard/webhooks/react |
9 | @xtandard/webhooks/react — embed the dashboard as a React component in your own app (advanced mode). |
@xtandard/webhooks/receiver |
2 | Receiver-side verification helpers — @xtandard/webhooks/receiver. |
@xtandard/webhooks/schema |
18 | Core type definitions for @xtandard/webhooks. |
@xtandard/webhooks/signing |
7 | Standard Webhooks symmetric (v1) signing and verification. |
@xtandard/webhooks/storage/drizzle |
1 | Drizzle storage: createDrizzleStorage() reads and writes a table you own (built with the drizzle/* factories) through the Drizzle database you pass. |
@xtandard/webhooks/storage/file |
3 | File-system storage: createFileStorage() persists each key as a JSON file under a base directory. |
@xtandard/webhooks/storage/libsql |
3 | libSQL / Turso storage: createLibsqlStorage() over @libsql/client, for remote, replicated or embedded SQLite-dialect databases. |
@xtandard/webhooks/storage/memory |
3 | In-memory storage: createMemoryStorage(), for tests, development and the demo. |
@xtandard/webhooks/storage/mongodb |
3 | MongoDB storage: createMongoStorage() over the mongodb driver, one collection of { _id: key, value } documents. |
@xtandard/webhooks/storage/postgres |
3 | Postgres storage: createPostgresStorage() keeps a single jsonb key/value table, created on first use. |
@xtandard/webhooks/storage/redis |
4 | Redis storage: createRedisStorage() (JSON strings) and createRedisJSONStorage() (RedisJSON documents) over node-redis, with native delivery-queue claiming and pub/sub watch. |
@xtandard/webhooks/storage/sqlite |
3 | SQLite storage on bun:sqlite: createSqliteStorage(), for single-node deployments and local persistence. |
@xtandard/webhooks/testing |
7 | Testing utilities — @xtandard/webhooks/testing. |