UsefulKey

Memory

In-memory keystore for local development and testing.

Overview

  • An in-memory keystore storing records in local Maps.
  • Suitable for tests and ephemeral environments. Not distributed.

Usage

import { MemoryKeyStore, usefulkey } from "betterkey";

const keyStore = new MemoryKeyStore();
const uk = usefulkey({ adapters: { keyStore } });

Options

OptionTypeDefaultDescription
This adapter has no options.

Notes

  • Volatile and single-process. Not for production.