2.0.0 • Published 5 years ago
hebo-snapshot-repository-inmemory v2.0.0
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