Skip to content

@xtandard/kit

One implementation of the infrastructure the xtandard products used to copy from each other. Fix a bug here once, and webhooks, flags, audit, links and entitlements all get it.
Terminal window
bun add @xtandard/kit

You don’t install the kit to use an xtandard product: each product depends on it directly. You need it when you build an xtandard-style product, or when you work on one. It is one package with subpath exports, and every database client, framework and build tool is an optional peer dependency, loaded only by the subpath that needs it.

Storage

The KV contract with watch and compare-and-swap, ten drivers, and the conformance suite every product runs against its own drivers.

Server

Auth and authorization providers, hooks, panel serving, the router and OpenAPI generator, scoped tokens, framework adapters and CLI plumbing.

UI kit

The React admin shell, primitives, theme store, API client and the embed factory, compiled ESM with a Tailwind stylesheet.

Tooling

The xtandard-kit bin (embed CSS scoping, API-surface gate), config factories, this docs-site tooling and the reusable GitHub workflows.