hebo-snapshot-repository-inmemory
v2.0.0
Published
Snapshot Repository implementation for hebo-js that stores everything in memory
Downloads
28
Readme
hebo-snapshot-repository-inmemory
Snapshot Repository implementation for hebo-js that stores everything in memory
Table of Contents
Install
npm:
npm install hebo-snapshot-repository-inmemory
yarn:
yarn add hebo-snapshot-repository-inmemory
Usage
const HeboSnapshotRepositoryInmemory = require('hebo-snapshot-repository-inmemory');
const aggregateNames = ['library', 'book', 'author'];
const snapshotRepository = new HeboSnapshotRepositoryInmemory({
aggregates: aggregateNames
});
Contributors
| Name | | ------------------ | | Steve Caldwell |
License
MIT © Steve Caldwell