0.10.0 • Published 3 years ago

@es-git/mix v0.10.0

Weekly downloads
20
License
MIT
Repository
-
Last release
3 years ago

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);