@authentik8/es-eventstore
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

@authentik8/es-eventstore

This package provides my take on an event store, with a number of configured back-ends

Installation

npm install @authentik8/es-eventstore

Usage

import { 
  getEventStore, 
  createInMemoryDriver, 
  createFilesystemDriver 
} from '@authentik8/es-eventstore';

const inMemoryStorage = createInMemoryDriver();
const fileStorage = createFilesystemDriver();

const inMemoryEventStore = getEventStore(inMemoryStorage)
const filesystemEventStore = getEventStore(fileStorage);

/@authentik8/es-eventstore/

    Package Sidebar

    Install

    npm i @authentik8/es-eventstore

    Weekly Downloads

    2

    Version

    0.2.2

    License

    MIT

    Unpacked Size

    40 kB

    Total Files

    37

    Last publish

    Collaborators

    • authentik8