mixed-mixer

Convenient bulk mixing.

npm install mixed-mixer
4 downloads in the last week
8 downloads in the last month

Synopsis

mixer provides convenient wrapper functionality for mixed to deal with bulk mixing (applying multiple mixins to multiple objects).

Basic usage example

// TODO

API

new Mixer([mixins:Array])

Creates a new Mixer instance wrapping the given mixins.

Mixer#add(mixins…)

Adds the given mixins to this instance.

Mixer#into(objs…)

Applies the mixer's mixins to each of the given objects using mixed.

mix(mixins…):Mixer

Shorthand for creating a new Mixer instance wrapping the given mixins.

Acknowledgements

This library was heavily inspired by Matt Parker's mix module.

Unlicense

This is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.

npm loves you