memory-repo
This is part of the ES-Git project.
Install
npm install --save @es-git/memory-repo
Usage
This is an implementation of IRawRepo
that stores data in a Map
. It is a temporary storage, it will not persist after the page refreshes or the node application is stopped. This makes it great for testing and experimenting, since it can be used with any of the mixins but does not have any side-effects.
import Repo from '@es-git/memory-repo';
const repo = new Repo();