Skip to content
Mixin for ES6 classes
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
src
test
.babelrc
.gitignore
.npmignore
.travis.yml
LICENSE
README.md
package.json

README.md

class-mixin

npm version Build Status codecov david-dm.org

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

You can’t perform that action at this time.