mix
This is part of the ES-Git project.
Install
npm install --save @es-git/mix
Usage
This package provides a helper method for applying multiple mixins to a repo, working well with TypeScript.
import objectsMixin from '@es-git/objects-mixin';
import walkersMixin from '@es-git/mix';
import MemoryRepo from '@es-git/memory-repo';
const Repo = mix(MemoryRepo)
.with(objectsMixin)
.with(walkersMixin)
.with(pushMixin, fetch);