Memory
In-memory keystore for local development and testing.
Overview
- An in-memory keystore storing records in local
Map
s. - Suitable for tests and ephemeral environments. Not distributed.
Usage
import { MemoryKeyStore, usefulkey } from "betterkey";
const keyStore = new MemoryKeyStore();
const uk = usefulkey({ adapters: { keyStore } });
Options
Option | Type | Default | Description |
---|---|---|---|
— | — | — | This adapter has no options. |
Notes
- Volatile and single-process. Not for production.