@robinmalfait/event-source

A node library for writing event sourced applications.

Usage no npm install needed!

<script type="module">
  import robinmalfaitEventSource from 'https://cdn.skypack.dev/@robinmalfait/event-source';
</script>

README

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.

npm start or yarn start

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

npm run build or yarn build

Build the package!

npm test or yarn test

Runn all the tests!