Apply mixins to your JavaScript classes
With the mixins-decorator
modules, you get the reap the benefits of mixins.
var mixin1 = { console; } ;var mixin2 = { console; } ; {} Foo; // Or, with ES6 classes @ {} var foo = ;foo; // foofoo; // bar
Usage
Install mixins-decorator
using npm:
npm install mixins-decorator
Then, use it in your code like so:
var mixins = ; // ... Declare and define some mixins here ... {} Foo; // Or, with ES6 classes @ {}
License
mixins-decorator
is ISC Licensed