Entry points (subpath exports)
Each building block has its own subpath, and every database client, framework and build tool is an optional peer. Importing one subpath never loads another’s dependencies.
| Subpath | What it is |
|---|---|
@xtandard/kit/storage (+ /memory, /file, /sqlite, /libsql, /postgres, /mongodb, /redis, /cloudflare-kv, /unstorage, /drizzle) |
The KV storage contract with watch and compare-and-swap capabilities, plus ten drivers |
@xtandard/kit/storage/testing |
The storage conformance suite, runnable under vitest or bun test |
@xtandard/kit/drizzle/{pg,mysql,sqlite} |
Drizzle KV table factories |
@xtandard/kit/auth, /authorization (+ none, basic, roles, delegated) |
Authentication and authorization providers |
@xtandard/kit/hooks, /hooks/log |
The before/after hook runner and the log hook |
@xtandard/kit/server, /server/router |
Panel/SPA serving, CORS, base path, the router and the OpenAPI generator |
@xtandard/kit/tokens |
Scoped HMAC tokens for portals and embeds |
@xtandard/kit/adapters/{bun,node,express,hono,elysia,next} |
Framework adapters and the Fetch↔Node bridge |
@xtandard/kit/cli |
CLI plumbing: env parsing, driver selection from env, auth from env, serve |
@xtandard/kit/util, /testing |
Durations, canonical JSON, ids, validation core, test clock |
@xtandard/kit/ui, /ui/embed, /ui/styles.css |
The React admin shell, primitives, theme, and the embed factory |
@xtandard/kit/build, xtandard-kit bin |
Build tooling: config factories, embed CSS scoping, the API-surface check |
@xtandard/kit/site |
Docs-site tooling (Starlight + TypeDoc) |
The products also call reusable GitHub workflows from this repo (.github/workflows/{ci,pages,docker,release-prepare}.yml).