ReferencePackages
Packages
The eight MIT packages that ship into your process, layered core, cache, sdk, adapter.
| Package | What it is |
|---|---|
@keyring/core | The key format, verify(), hashing and the policy-store contract. Framework-free, I/O-free. |
@keyring/cache | The versioned snapshot, the 5-second delta poller, the bounded LRU and the disk snapshot. |
@keyring/sdk | The runtime: the decision, the onUnavailable modes, resources, limits, idempotency, telemetry. |
@keyring/express | Express and Connect middleware. |
@keyring/fastify | Fastify plugin. |
@keyring/nest | NestJS module, guard, interceptor and decorators, on either platform adapter. |
@keyring/next | Next.js App Router route-handler wrapper, Node runtime only. |
@keyring/react | The embeddable <KeyringKeys /> component. |
Every adapter is a thin translation over @keyring/sdk. Anything an adapter is tempted to reimplement lives in the SDK instead, which is what keeps the adapters small and what will keep the Python and Go ports tractable.
Not on npm yet
None of these is on the npm registry. Start in 5 minutes shows how to build and install them from tarballs.