Skip to content

Event Repository implementation for hebo-js that stores everything in memory

License

Notifications You must be signed in to change notification settings

stevecaldwell77/hebo-event-repository-inmemory

Repository files navigation

hebo-event-repository-inmemory

build status code coverage code style styled with prettier made with lass license

Event Repository implementation for hebo-js that stores everything in memory

Table of Contents

Install

npm:

npm install hebo-event-repository-inmemory

yarn:

yarn add hebo-event-repository-inmemory

Usage

This repository is meant to be used in tests, not in production code, since it only stores things to memory.

const HeboEventRepositoryInmemory = require('hebo-event-repository-inmemory');
const aggregateNames = ['library', 'book', 'author'];
const eventRepository = new HeboEventRepositoryInmemory({
    aggregates: aggregateNames
});

Contributors

Name
Steve Caldwell

License

MIT © Steve Caldwell

About

Event Repository implementation for hebo-js that stores everything in memory

Resources

License

Stars

Watchers

Forks

Packages

No packages published