@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);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.2
    1
  • 0.2.1
    0
  • 0.2.0
    0

Package Sidebar

Install

npm i @authentik8/es-eventstore

Weekly Downloads

1

Version

0.2.2

License

MIT

Unpacked Size

40 kB

Total Files

37

Last publish

Collaborators

  • authentik8