2.0.0 • Published 6 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-inmemoryyarn:
yarn add hebo-snapshot-repository-inmemoryUsage
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