5.0.0 • Published 5 years ago

hebo-event-repository-inmemory v5.0.0

Weekly downloads
19
License
MIT
Repository
github
Last release
5 years ago

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

5.0.0

5 years ago

4.1.0

5 years ago

4.0.0

5 years ago

3.2.0

5 years ago

3.1.0

5 years ago

3.0.4

5 years ago

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.1.0

6 years ago

1.0.4

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago