RobinMalfait / event-source

A node library for writing event sourced applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Event Source

Node CI

A node library for writing event sourced applications.

Usage

import {
  Aggregate,
  Command,
  Event,
  abort,
  createEventMapper,
  createEventSource,
  createProjector,
  createTestEventStore,
} from '@robinmalfait/event-source'

Local Development

Below is a list of commands you will probably find useful.

pnpm start

Start the build in watch mode, which makes it easy to make incremental builds.

pnpm build

Build the package!

pnpm test

Runn all the tests!

About

A node library for writing event sourced applications

License:MIT License


Languages

Language:TypeScript 100.0%