Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 709 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 709 Bytes

class-mixin

npm version Build Status codecov

Mixin for ES6 classes

Usage

$ npm install class-mixin -save
import mixin from 'class-mixin'
// or
var mixin = require('class-mixin')
class Sub extends mixin(Base1, Base2) {

}

It's in-order, so the last source will override properties of the same name in previous arguments.

LICENSE

MIT